VS Code: error while applying breakpoint, "breakpoint is ignored because target path not found"
I am using chrome debugger extension in Visual Studio Code to debug my base application. The launch.json file looks like this:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "https://localhost:3000/authenticate/app/110020",
"webRoot": "D:/Apps/app",
"sourceMaps": false,
"trace": "verbose"
}
]
}
When I try to put a breakpoint on the app.js file that is present in the "D: / Apps / app" directory, the following error is displayed, "Breakpoint is ignored because target path was not found." The app.js file is not minified or merged.
source to share
The answer to the original question was found here when looking at things: https://github.com/Microsoft/vscode-chrome-debug/issues/462
In short, the problem was with a poster requesting JS files with a keyless querystring, like
https://localhost:3000/dd/2000/app/js/pp?112/src/js/build.js
This caused a VS Code error. At the moment, the problem remains open.
source to share