summaryrefslogtreecommitdiffstats
path: root/devtools/client
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-28 08:49:42 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-28 08:49:42 +0100
commit259e214960c23346628311d88427c7ca13bdb335 (patch)
tree28194ce01c0f4432c31914c6c16ca3e432531314 /devtools/client
parentad35e2a11f30dd2db1ae63431dbb9065eea2771c (diff)
downloadUXP-259e214960c23346628311d88427c7ca13bdb335.tar
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.gz
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.lz
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.xz
UXP-259e214960c23346628311d88427c7ca13bdb335.zip
Basilisk - the cmd line - help (the columns alignment, error improvements)
https://github.com/MoonchildProductions/moebius/pull/58
Diffstat (limited to 'devtools/client')
-rw-r--r--devtools/client/devtools-startup.js19
1 files changed, 12 insertions, 7 deletions
diff --git a/devtools/client/devtools-startup.js b/devtools/client/devtools-startup.js
index 2271dd790..f07e4ff2b 100644
--- a/devtools/client/devtools-startup.js
+++ b/devtools/client/devtools-startup.js
@@ -190,7 +190,10 @@ DevToolsStartup.prototype = {
listener.open();
dump("Started debugger server on " + portOrPath + "\n");
} catch (e) {
- dump("Unable to start debugger server on " + portOrPath + ": " + e);
+ let _error = "Unable to start debugger server on " + portOrPath + ": "
+ + e;
+ Cu.reportError(_error);
+ dump(_error + "\n");
}
if (cmdLine.state == Ci.nsICommandLine.STATE_REMOTE_AUTO) {
@@ -199,12 +202,14 @@ DevToolsStartup.prototype = {
},
/* eslint-disable max-len */
- helpInfo: " --jsconsole Open the Browser Console.\n" +
- " --jsdebugger Open the Browser Toolbox.\n" +
- " --devtools Open DevTools on initial load.\n" +
- " --start-debugger-server [ws:][ <port> | <path> ] Start the debugger server on\n" +
- " a TCP port or Unix domain socket path. Defaults to TCP port\n" +
- " 6000. Use WebSocket protocol if ws: prefix is specified.\n",
+ helpInfo: " --jsconsole Open the Browser Console.\n" +
+ " --jsdebugger Open the Browser Toolbox.\n" +
+ " --devtools Open DevTools on initial load.\n" +
+ " --start-debugger-server [ws:][<port>|<path>] Start the debugger server on\n" +
+ " a TCP port or Unix domain socket path.\n" +
+ " Defaults to TCP port 6000.\n" +
+ " Use WebSocket protocol if ws: prefix\n" +
+ " is specified.\n",
/* eslint-disable max-len */
classID: Components.ID("{9e9a9283-0ce9-4e4a-8f1c-ba129a032c32}"),