Open
Bug 1481256
Opened 6 years ago
Updated 9 months ago
Expose option to open/close listening port from about:debugging (i.e. provide a UI for the --start-debugger-server option)
Categories
(DevTools :: about:debugging, defect, P5)
DevTools
about:debugging
Tracking
(Not tracked)
NEW
People
(Reporter: sole, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
This bug is about adding a new UI in about:debugging, to allow users to open/close a port to listen for incoming connections, instead of them starting Firefox with a command line parameter as documented here: https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_Desktop
The developer toolbar has been removed and so the option to quickly toggle between listening and not listening is not available to developers anymore.
Given our efforts to make remote debugging more accessible, this sounds like it would help in surfacing the functionality.
Reporter | ||
Updated•6 years ago
|
Priority: -- → P5
Reporter | ||
Updated•6 years ago
|
Blocks: remote-debugging-ng
Reporter | ||
Updated•6 years ago
|
Blocks: gcli-removal-follow-ups
Updated•6 years ago
|
Updated•5 years ago
|
Blocks: remote-debugging-ng
Updated•5 years ago
|
No longer blocks: remote-debugging-ng-m3-plus
Comment 2•5 years ago
•
|
||
As mentioned by :ochameau, in the meantime you can spawn a server from the Browser Toolbox 's console using the following snippet:
const serverLoader = new DevToolsLoader({
invisibleToDebugger: true,
});
const { DebuggerServer: debuggerServer } = serverLoader.require(
"devtools/server/debugger-server"
);
const { SocketListener } = serverLoader.require(
"devtools/shared/security/socket"
);
debuggerServer.init();
debuggerServer.registerAllActors();
debuggerServer.allowChromeProcess = true;
const listener = new SocketListener(debuggerServer, { portOrPath: 6000 };);
listener.open();
And after that you should be able to remote debug an already started Firefox instance.
Updated•2 years ago
|
Severity: normal → S3
Updated•9 months ago
|
Attachment #9387226 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•