Closed Bug 956881 Opened 10 years ago Closed 10 years ago

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

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

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
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.