vscode-firefox-debug icon indicating copy to clipboard operation
vscode-firefox-debug copied to clipboard

Debugger detaches when new window opens

Open devnull69 opened this issue 1 year ago • 3 comments
trafficstars

I've successfully setup Firefox debugging in VSCode ... generally speaking. But whenever my app opens up a new window, the debugger seems to be detached from it. Only breakpoints of the original / main window work, the new window (even though showing in debugging mode) doesn't stop on breakpoints.

Is this expected behavior? Any setting/workaround for this?

devnull69 avatar Jun 29 '24 16:06 devnull69

Having same issue even in main window, breakpoints highlight as active, but no stop happens, the code fall straight to the xdebug.

AnrDaemon avatar Aug 15 '24 13:08 AnrDaemon

News? It's impossible to debug application, when debugger doesn't budge.

Also, what it means that I should specify URL if I specified a webroot? And then it just outright ignores any pages other than the specified URL? How am I supposed to work?

AnrDaemon avatar Sep 02 '24 09:09 AnrDaemon

It's even worse. My application uses custom interlinks to refer to in-app entities. A simple el.dispatchEvent(new PointerEvent('click')) on an element with such link will successfully send the debug adapter into an infinite wait state, effectively decommissioning it.

AnrDaemon avatar Sep 06 '24 15:09 AnrDaemon

This was fixed in version 2.10.0.

hbenl avatar Jan 08 '25 11:01 hbenl