I'm new to Node JS, and JS development in general. I have an app-bundle.js file that is bundled by WebPack, that is called through an app.js file.
I am trying to debug using Visual Studio Code. I created the launch.json file for the VS code configuration. However, when I insert breakpoints in the individual js files, I get
Breakpoints set, but not yet bound
However, when I set a breakpoint in app.js or app.bundle.js, it works fine.
My launch.json is below:
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/app.js"
}
How can I get the VS code debugger to work with the individual js files?