Resolved after changing
"args": ["${env:OPT_BUILD}/synmake.log"],
to
"args": ["${OPT_BUILD}/synmake.log"],