sysgears / spinjs

SpinJS is now Zen! The project has been renamed and moved to Larix Framework.
https://github.com/sysgears/larix/tree/master/packages/zen
MIT License
43 stars 8 forks source link

Enable debugging for tests #13

Open xabitrigo opened 6 years ago

xabitrigo commented 6 years ago

I'm starting a project based on apollo-universal-starter-kit, and trying to make sense of the tests. To do it I tried to connect IntelliJ debugger to the tests execution, creating a debug configuration like this:

captura de pantalla_2018-10-03_16-59-47

This runs the tests, but I cannot debug them. It complains about $NODE_DEBUG_OPTION, as I show next:

captura de pantalla_2

The objective is to be able to stop at the breakpoints to know what is happening there.