-
Notifications
You must be signed in to change notification settings - Fork 64
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
VSCode Debugger connection to Angular app fails Firefox 125.0 Beta 2 [Unverified breakpoints] #360
Comments
I'm having the same issue. Using Firefox developer 125.b04 |
This is caused by a bug in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1888899. |
I just tested this in the Firefox Nightly build 126.0a1, and it seems that the issue is resolved |
I have approximately the same issue with the debugger in firefox developer edition (version 125.0b9) doesn't have effect, it doesn't work at all. so I swith to firefox normal edition (version 124.0.2) it works partially and I don't know why it is stopped and have the issue in debug console which tells me: NG0912: Component ID generation collision detected. Components 'NavbarItemMenusComponent' and 'NavbarItemMenusComponent' with selector 'bl-navbar-item-menus' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID. Find more at https://angular.io/errors/NG0912 TypeError: au.shift is not a function here my launch.json config: And with Chrome and Edge the debugger works nicely, Could someone help me ? |
Summary
My instance of Firefox Developer Edition updated last night from
124.0 beta 9
to125.0 beta 2
and seems to have broken the VSCode developer extensions ability to debug Angular applications (and possibly others).Update history is visible through
about:support
and clicking "Update History of Firefox" (source)Platform:
Observed behavior:
Extension Host
Output tab.Task Manager shows the Firefox launch command to be:
"C:\Program Files\Firefox Developer Edition\firefox.exe" -start-debugger-server 6000 -no-remote -profile "C:\Users\Charles/Firefox Debug Profiles/my-debug-profile" http://localhost:4300 /prefetch:1
There appears to be an active TCP connection between VSCode and the Firefox debug listener:
The TCP conversation between VSCode and Firefox is as follows:
Best Guess
The
listTabs
call from VSCode to Firefox is failing, and crashing the extension.There's a commit in the referenced issue below that claims to resolve how
cypress-io
handles tabs in the debugger connection: cypress-io/cypress@f8fc8d2Related Issues
This behavior seems similar to these bugs; however, I have a
--host 127.0.0.1
directive in myng serve
command already.ng serve
if Node 18 LTS is used angular/angular-cli#24601It also looks like there could be another project experiencing an issue with the debugger interface in the latest updates to Firefox Developer edition: cypress-io/cypress#29172
Workaround
Reverting to Firefox Developer Edition version 124 beta 9 (FTP Download Archive) seems to work following steps here: https://support.mozilla.org/en-US/kb/install-older-version-firefox
The debugger TCP conversation using 124 beta 9 looks like this:
The text was updated successfully, but these errors were encountered: