-
Notifications
You must be signed in to change notification settings - Fork 67
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
Unverified breakpoint debugging vue.js webpack app #85
Comments
Your
I'm not sure what this means, but if this is the configuration of the webpack devtool (that's what it looks like), you should try switching to a different option because some webpack devtool options are broken, see webpack/webpack#5491. |
thanks for the help, didn't know that some of the webpack source maps where broken. The following is a working example: "version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"reAttach": true,
"name": "Launch Vue App",
"firefoxExecutable": "/home/michael/firefox-dev/firefox",
"url": "http://localhost:8080/",
"webRoot": "${workspaceFolder}/src",
"pathMappings": [
{
"url": "webpack:///src/",
"path": "${webRoot}"
}
],
"skipFiles": [ // optional
"${workspaceFolder}/node_modules/**"
]
}
]
|
@Michael-Liao sounds like the main problem is fixed. For the JSX issue, can you re-test against the latest Firefox and re-open if the mapping issue persists? |
Hello I have a similar issue and this solution does not work in my case. Here is some informations about my system :
And my projects : . As you can see, I have multiple modules and a "src" folder for tests purpose. You can find in bold where are my breakpoints. And here my .vscode/launch.json :
I've tried like this :
In both cases, all my breakpoints are mark "Unverified". I specify that I work on the backend with java code. I guess the source-map cause that issue but I don't know what to do. If someone can help, I appreciate |
@RemiDeWispelaere try using the Loaded Scripts Explorer to add your |
I think I am missing something. I don't know wich url I need to map.
And there are many others, with ng: and with webpack:. EDIT : I precise I am working on the backend code, the frontend code are in others folders |
look for URLs for files that contain javascript (usually files that end with
when you say "backend code", do you mean code that runs on the server? |
This works for me, running Vue in a devcontainer:
|
Description
I followed this guide to setup debugging. However the breakpoints are not working.
this is my
launch.json
fileand my
config/index.js
Specifications
The text was updated successfully, but these errors were encountered: