Bug 1589625 - [remote] Add documentation for enabling logging of emitted events. r=remote-protocol-reviewers,ato,maja_zf
authorHenrik Skupin <mail@hskupin.info>
Wed, 23 Oct 2019 15:49:19 +0000
changeset 498718 e09c20baeed78e04b819cdfc29aefb52d0bf60df
parent 498717 3c32d4e19a929a92e875e63e92d189e06cefc3ed
child 498719 5b3badffcd9caf5448694252769e122d603fbbac
push id36724
push useraiakab@mozilla.com
push dateWed, 23 Oct 2019 21:54:06 +0000
treeherdermozilla-central@82274c202574 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersremote-protocol-reviewers, ato, maja_zf
bugs1589625
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1589625 - [remote] Add documentation for enabling logging of emitted events. r=remote-protocol-reviewers,ato,maja_zf Differential Revision: https://phabricator.services.mozilla.com/D50230
remote/doc/Debugging.md
--- a/remote/doc/Debugging.md
+++ b/remote/doc/Debugging.md
@@ -2,13 +2,22 @@ Debugging
 =========
 
 Increasing the logging verbosity
 --------------------------------
 
 To increase the internal logging verbosity you can use the
 `remote.log.level` [preference].
 
-If you use mach to start the Firefox:
+If you use mach to start Firefox:
 
 	./mach run --setpref "remote.enabled=true" --setpref "remote.log.level=Debug" --remote-debugger
 
+Enabling logging of emitted events
+----------------------------------
+
+To dump events produced by EventEmitter,
+including CDP events produced by the remote agent,
+you can use the `toolkit.dump.emit` [preference]:
+
+    ./mach run --setpref "remote.enabled=true" --setpref "toolkit.dump.emit=true" --remote-debugger
+
 [preference]: ./Prefs.html