-
Notifications
You must be signed in to change notification settings - Fork 72
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
Breakpoints are not triggered when specifying a URL in the configurations for "Chrome Debug" #1294
Comments
@Si-So I think that for debug to work, Chrome has to be closed (at least on Ubuntu). That's what I said in #927. Did you try to close Chrome before starting debug? |
@Si-So I tried to debug your application and it didn't work, even with Chrome closed. One thing you have to check is which port the debug should inspect. When you start the application, you must specify the port with the See: https://nodejs.org/en/docs/guides/debugging-getting-started |
@Si-So now I see that you are talking about "Chrome Debug". But all I said is about "Running Chrome Debug Instace". Sorry for the confusion. "Chrome Debug" never worked for me. |
No problem. I am currently working on a pull request - I believe I will finish the work tomorrow... |
@Si-So do you know what the difference between |
@wesleybl The difference if that |
Weird is that it only works when Chrome is closed(#927). In other words, it works the same as Thanks for clarifying! |
@Si-So I tested a react app with |
…en debugging a URL
1. It is now impossible to select both radio buttons at the same time 2. The debug dialog no longer deletes user input when reverting 3. The debug dialog no longer deletes user input when re-opening See: eclipse-wildwebdeveloper#1306 (comment)
1. It is now impossible to select both radio buttons at the same time 2. The debug dialog no longer deletes user input when reverting 3. The debug dialog no longer deletes user input when re-opening See: #1306 (comment)
Steps to reproduce:
I can give a more detailed explanation on how to setup the angular example project if necessary.
Environment
Eclipse 2023-06
Analysis
I looked into the documentation for vscode-chrome-debug (which can be found here: https://github.com/microsoft/vscode-chrome-debug#launch) to see which parameter is missing. When specifying an URL, the webRoot folder must also be specified to map the source files to the URL.
After looking through the source code of wildwebdeveloper, I realized that the webRoot parameter is never set and thus not breakpoints are triggered.
Strangely enough the webRoot parameter is set when the firefox debugger is launched (the firefox debugger also does not work, but I believe for other reasons).
The text was updated successfully, but these errors were encountered: