add a pref observer for devtools.debugger.remote-enabled to hide/show "connect" menu item

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
5 years ago
4 months ago

People

(Reporter: fitzgen, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug][mentor=nfitzgerald@mozilla.com][lang=js])

Right now, we require a refresh to get the Tools > Web Developer > Connect... menu item to show up after you enable devtools.debugger.remote-enabled. We should just use a pref observer and add and remove the menu item as the pref is changed. That way we can avoid the restart.
Nevermind, we already do this. This isn't the reason we require a restart for remote debugging.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME

Updated

4 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.