I am running tests using Spectron, mocha and chai-as-promised. My IDE is Visual Studio Code.
I run the application from the tests as follows:
this.app = new Application({
path: electron,
args: ['.']
});
// Then at some point I run this.app.start()
Can I connect a Visual Studio code debugger to this application? I can start debugging my test code, but I need to debug the application at some point.
source
share