summaryrefslogtreecommitdiffstats
path: root/devtools/server/actors/webconsole/commands/experimental-commands.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/actors/webconsole/commands/experimental-commands.ftl')
-rw-r--r--devtools/server/actors/webconsole/commands/experimental-commands.ftl21
1 files changed, 21 insertions, 0 deletions
diff --git a/devtools/server/actors/webconsole/commands/experimental-commands.ftl b/devtools/server/actors/webconsole/commands/experimental-commands.ftl
new file mode 100644
index 0000000000..b11c29006b
--- /dev/null
+++ b/devtools/server/actors/webconsole/commands/experimental-commands.ftl
@@ -0,0 +1,21 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# These strings aren't translated and are meant to be used for experimental commands
+# which may frequently update their documentations
+
+# Usage string for :trace command
+webconsole-commands-usage-trace3 =
+ :trace
+
+ Toggles the JavaScript tracer
+
+ It supports the following arguments:
+ --logMethod to be set to ‘console’ for logging to the web console (the default), or ‘stdout’ for logging to the standard output,
+ --values Optional flag to be passed to log function call arguments as well as returned values (when returned frames are enabled).
+ --on-next-interaction Optional flag, when set, the tracer will only start on next mousedown or keydown event.
+ --max-depth Optional flag, will restrict logging trace to a given depth passed as argument.
+ --max-records Optional flag, will automatically stop the tracer after having logged the passed amount of top level frames.
+ --prefix Optional string which will be logged in front of all the trace logs,
+ --help or --usage to show this message.