You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if anybody uses Visual Studio Code for development. I am trying to use debugger with the code, but my breakpoints getting ignored. I almost sure that that is because I don't tell visual studio debug configuration proper location on where to look for source code maps (which corresponds to project webpack config).
I have following in my lauch.json config
`
{
"name": "Launch Chrome",
"request": "launch",
"type": "pwa-chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}",
"trace":true,
"sourceMaps": true,
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///./src/": "${webRoot}/build/",
"webpack:///src/": "${webRoot}/build/"
}
}
`
I am wondering if someone can share a proper launch.json config for VS Code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi team,
I am wondering if anybody uses Visual Studio Code for development. I am trying to use debugger with the code, but my breakpoints getting ignored. I almost sure that that is because I don't tell visual studio debug configuration proper location on where to look for source code maps (which corresponds to project webpack config).
I have following in my lauch.json config
`
{
"name": "Launch Chrome",
"request": "launch",
"type": "pwa-chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}",
"trace":true,
"sourceMaps": true,
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///./src/": "${webRoot}/build/",
"webpack:///src/": "${webRoot}/build/"
}
`
I am wondering if someone can share a proper launch.json config for VS Code
Beta Was this translation helpful? Give feedback.
All reactions