Closed
Description
- Version: 6.3.1 +
- Platform: OSX
I am debugging my mocha tests using native node debugger, using the following command:
/usr/local/bin/node --debug-brk --inspect=9444 --expose_debug_as=v8debug /Users/yanivef/Documents/projects/node-debug-example/node_modules/mocha/bin/_mocha --require babel-register --timeout 0 --ui bdd test/**/*.spec.js
Debugger works great, but I cannot make source maps to work.
I created a small simple example here.
Just clone + npm i
+ npm run test-debug
. You'll see that when opening the address from command line (chrome-devtools://devtools....) you can debug but source maps are not working:
I tried adding project to workspace / adding source maps manually with no luck. Am I doing something wrong here? Is there an issue here?