Closed Bug 1521864 Opened 2 years ago Closed 2 years ago

It should be possible to open the debugger in a tab

Categories

(DevTools :: Debugger, enhancement)

enhancement
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: jlast, Assigned: jlast)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

It would be nice to be able to open the debugger in a tab and work on it like a normal webpage.


Here are some notes from a convseration with Alex.

  • about:devtools-toolbox?type=process will open a browser toolbox in a tab

it only works for the netmonitor: chrome://devtools/content/netmonitor/index.html?type=tab&id=21474837308

The pattern in the replace about:devtools-toolbox with panel's URL. The main issue is that you have to go through about:debugging to get the id of things
The query parameter are working thanks to such piece of code:
https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/initializer.js#67-104

Similar code used to exists for the inspector:
https://hg.mozilla.org/mozilla-central/rev/7629395388e5#l2.125
The one for the console never landed:
https://hg.mozilla.org/mozreview/gecko/rev/445ac4d8f2c2d3e4942d9c99c8eb314b3b2e40d0#index_header

Severity: normal → enhancement
Pushed by jlaster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b01e4b63555
It should be possible to open the debugger in a tab. r=davidwalsh
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Assignee: nobody → jlaster
You need to log in before you can comment on or make changes to this bug.