Reputation: 2965
VSCode keeps pausing on a file called hot module replacement
which looks like it's a part of webpack.
I have no break points at all.
Launch config
{
"type": "pwa-chrome",
"request": "launch",
"trace": true,
"name": "Launch vscode not extension",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
How do I stop this?
Upvotes: 3
Views: 2872
Reputation: 1
Make sure that in the launch.json file the line "stopAtEntry": false, exists. Mine was true so it paused for no reason.
Upvotes: 0
Reputation: 415
My problem was that my CALL STACK would say "Paused on pause",
when I had no breakpoints set up, and also no Exceptions were shown.
However, I think is is just bad UI in VSCode, because actually a code error is occurring.
When I resume processing by pressing the Play button ..
If I have the DEBUG CONSOLE open, then after I hit the Play button again to get past this alleged "Paused on pause" then an error inevitably does appear in the console.
Upvotes: 1