Skip to main content

Crate devtools

Crate devtools 

Source
Expand description

An actor-based remote devtools server implementation. Only tested with nightly Firefox versions at time of writing. Largely based on reverse-engineering of Firefox chrome devtool logs and reading of code.

ModulesΒ§

actor πŸ”’
actors πŸ”’
https://searchfox.org/mozilla-central/source/devtools/server/actors
id πŸ”’
network_handler πŸ”’
protocol πŸ”’
Low-level wire protocol implementation. Currently only supports JSON packets.
resource πŸ”’

StructsΒ§

ActorMsg πŸ”’
DevtoolsInstance πŸ”’
EmptyReplyMsg πŸ”’
StreamId πŸ”’

EnumsΒ§

UniqueId πŸ”’

FunctionsΒ§

allow_devtools_client πŸ”’
console_table_items πŸ”’
Port of Firefox’s getConsoleTableMessageItems.
debugger_value_to_json πŸ”’
https://searchfox.org/mozilla-central/source/devtools/server/actors/object/utils.js#148
handle_client πŸ”’
Process the input from a single devtools client until EOF.
start_server
Spin up a devtools server that listens for connections on the specified port.
table_descriptor πŸ”’