Skip to content
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

Update debugging-in-vscode.md #2926

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/v2/cookbook/debugging-in-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ Click on the Debugging icon in the Activity Bar to bring up the Debug view, then
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
"webpack:///src/*": "${webRoot}/*",
// If the breakpoint of JS file or Vue file cannot be set, the corresponding wildcard can be configured according to the file in 'webpack://' in the sources column under devtools of chrome. Examples are as follows
// "webpack:///./src/*.js": "${webRoot}/*.js",
// "webpack:///src/*.vue": "${webRoot}/*.vue"
}
},
{
Expand Down