Better HN
topnewbestaskshowjobs
Log inSign up

ochameau

1 karma · joined Jan 16, 2025 (1y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

There is a beginning of solution for popups in Firefox DevTools.

You can toggle `devtools.popups.debug` preference [1] to true in about:config and DevTools should open on popups.

Unfortunately, there is some limitations, highlighted at the end of that bugzilla entry. It won't work for <a target="_blank">, while it should work for window.open usages.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1569859

comment 1y ago · link · parent

Note that the "Pause breakpoints" [1] should be fixed in the next release, Firefox 135, which should ship on February 4.

Regarding Ctrl+P, there is a bug on file [2], we could easily make it so that it switches to debugger and open that search-for-file UI from there. Showing this UI on top of any panel would be a much more involved change.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1933764 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1409544