Since the launch.json uses the _mocha launcher, the node options present in any opts file will not be passed to the node process which is invoked directly by VSCode.
At the very least this should be documented. But I'd love to find a solution to avoid replicating my opts content in launch.json
Since the
launch.json
uses the_mocha
launcher, the node options present in anyopts
file will not be passed to the node process which is invoked directly by VSCode.At the very least this should be documented. But I'd love to find a solution to avoid replicating my
opts
content inlaunch.json
support/mocha.opts:
launch.json