-
Notifications
You must be signed in to change notification settings - Fork 3.4k
VS Code Debugger Config #2235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm, this config was changed in #1994 following an official commit in microsoft/vscode-recipes@2a70f22. I see another comment in the commit stating the same problem you have, though. It seems to me we can use both versions in the config. Thoughts? Pinging @sdras. |
Maybe it's related to Webpack's version or Chrome's. Using Webpack 4 and Chrome 75, Chrome serves up files from webpack:///src/*, which means reverting to the previous version. |
I create a new project by Vue Cli, and then set the
launch.json
in VS Code as stated in the Cookbook:But it doesn't work as expected. After I set a red breakpoint at line 40 in

HelloWorld.vue
and click the green play button in the Debug view, the Debugger doesn't stop at the breakpoint and the breakpoint turns to a gray circle. It's said that this breakpoint is unverified.I gooooogled a lot...Finally... when I change the
sourceMapPathOverrides
field inlaunch.json
as follows, the Debugger works.'./'
beforesrc
is removed.The config in Cookbook seems to be wrong.
The text was updated successfully, but these errors were encountered: