Not sure is this issue fits here. Apologies if that's not the case.
I am having issues debugging a large Node application. WebStorm does not "stop" on breakpoints despite the code working fine. After running my code step by step I was able to identify that the debugger stops working when loading Handlebars:
const Handlebars = require("handlebars");
Commenting out this line makes the debugger work again across the app.
In order to confirm this, I created a very basic project:
mkdir handlebars-test
cd handlebars-test
npm install handlebars
touch index.js
vim index.js
Not sure is this issue fits here. Apologies if that's not the case.
I am having issues debugging a large Node application. WebStorm does not "stop" on breakpoints despite the code working fine. After running my code step by step I was able to identify that the debugger stops working when loading Handlebars:
Commenting out this line makes the debugger work again across the app.
In order to confirm this, I created a very basic project:
index.js
:When running a WebStorm debugger session, I am able to hit the first breakpoint:
But the debugger never reaches the second breakpoint. It seems like something in there is "breaking" the debugger 🤔
I am not sure how to investigate this. I was wondering if others ran into this issue as well?
Edit: tried with both node 16 and node 18.