However, when the developer starts debugging, we stop on the first line of their server.js code
By adding "stopOnEntry": false to launch.json, the debugger will no longer stop on the first line, but hit the breakpoint.
I Tried adding it to my test project; but it still stopped on the first line on initial attach, and every time I changed the file to trigger nodemon, it would again stop on the first line.
yo docker scaffolds out a dockerfile that uses dockerfile.debug with the following entry point
However, when the developer starts debugging, we stop on the first line of their server.js code By adding
"stopOnEntry": false
to launch.json, the debugger will no longer stop on the first line, but hit the breakpoint.