Most guides I found have old and unreachable links and examples.
I have some mocha tests and am trying to debug them with Visual Studio 2013. Currently I've just ran them from the command line with the command:
mocha tests --require tests/helpers/chai.js --reporter spec
I've seen somewhere that I can add --debug-brk and then attach to process.
I'm getting Debugger listening on port 5858 but I don't see a process with port 5858 in the attach window.
Am I missing some steps? I'm able to debug regular nodejs code on a NodeJS project (I have nodejs tools for visual studio installed)
Thanks
Aucun commentaire:
Enregistrer un commentaire