Skip to content
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

Debugger detaches when new window opens #367

Open
devnull69 opened this issue Jun 29, 2024 · 3 comments
Open

Debugger detaches when new window opens #367

devnull69 opened this issue Jun 29, 2024 · 3 comments
Labels
bug initialization Issues that prevent launching the extension and Firefox and attaching to it

Comments

@devnull69
Copy link

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?

@AnrDaemon
Copy link

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

@AnrDaemon
Copy link

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
Copy link

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.

@hbenl hbenl added bug initialization Issues that prevent launching the extension and Firefox and attaching to it labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug initialization Issues that prevent launching the extension and Firefox and attaching to it
Projects
None yet
Development

No branches or pull requests

3 participants