2.9.9 • Published 8 months ago

firefox-debugadapter v2.9.9

Weekly downloads
71
License
MIT
Repository
github
Last release
8 months ago

Debug Adapter for Firefox

This package implements the Debug Adapter Protocol for Firefox. It is part of the VS Code Debugger for Firefox but can be used by other IDEs as well to integrate with Firefox's debugger.

Custom requests and events

In addition to the standard Debug Adapter Protocol, the debug adapter implements some custom requests and events:

Requests

The following custom requests can be sent to the debug adapter:

  • toggleSkippingFile : toggle whether a particular file (identified by its URL) is skipped (aka blackboxed) during debugging
  • reloadAddon : reload the WebExtension that is being debugged
  • setPopupAutohide : set the popup auto-hide flag (config key ui.popup.disable_autohide, WebExtension debugging only)
  • togglePopupAutohide : toggle the popup auto-hide flag

Events

The debug adapter sends these custom events:

  • popupAutohide : contains the initial state of the popup auto-hide flag (WebExtension debugging only)
  • threadStarted : sent when a thread-like actor (for a Tab, Worker or WebExtension) is started
  • threadExited : sent when a thread-like actor exited
  • newSource : sent when Firefox loaded a new source file
  • removeSources : sent when a thread-like actor discards its previously loaded sources, i.e. when a Tab is navigated to a new URL
  • unknownSource : sent when the user tries to set a breakpoint in a file that could not be mapped to a URL loaded by Firefox

The event body types are defined here. The source events may be replaced by the LoadedSourceEvent in the future.

2.9.9

8 months ago

2.9.8

2 years ago

2.9.7

2 years ago

2.9.6

2 years ago

2.9.5

2 years ago

2.9.4

3 years ago

2.9.3

3 years ago

2.9.2

3 years ago

2.9.1

4 years ago

2.9.0

4 years ago

2.8.0

4 years ago

2.7.2

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.5

4 years ago

2.5.4

4 years ago

2.5.3

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.4

5 years ago

2.3.3

5 years ago

2.3.2

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago