How can i debug JS code when wring with codeceptJS?
Hi guys,
I'm working with IntelliJ , how do i set up debug configuration for CodeceptJS ? I know how to use pause(), however the debugger lets me debug only the "I" api.
What do you want to do, I am not sure to understand what you want.
@xeonarno I believe he is trying to achieve the same thing that codeceptjs offers for vsCode but in webstorm/intellij. He wants to be able to click the debug button, place some breakpoints and step in/out/over using intellijs debugger rather than vscode
@GSasu What codeceptjs do for VSCode ? I'm very interesting !
@xeonarno the codeceptjs documentation shows multiple ways of debugging. One of the things it targets is setting up your preferred editor debugger to be able to just click Debug, start the tests and stop at a breakpoint to be able to continue to step in/out/over etc.
Getting error of outFiles in vscode with below launch config

{
"type": "node",
"request": "launch",
"name": "codeceptjs",
"args": ["run"],
"program": "${workspaceFolder}/node_modules/.bin/codeceptjs"
}
This error suggest that debugger need main file from where it can start debugging. For express , its mostly app.js
Any such file/config for codeceptjs?