Skip to content

Instantly share code, notes, and snippets.

@ochameau
Created May 3, 2017 14:00
Show Gist options
  • Save ochameau/b593543d14ebd3324bf7b81a3eb511f0 to your computer and use it in GitHub Desktop.
Save ochameau/b593543d14ebd3324bf7b81a3eb511f0 to your computer and use it in GitHub Desktop.
diff --git a/devtools/client/devtools-startup.js b/devtools/client/devtools-startup.js
index 4feb75d..3e34e1d 100644
--- a/devtools/client/devtools-startup.js
+++ b/devtools/client/devtools-startup.js
@@ -25,7 +25,8 @@ function DevToolsStartup() {}
DevToolsStartup.prototype = {
handle: function (cmdLine) {
- let consoleFlag = cmdLine.handleFlag("jsconsole", false);
+ let consoleFlag = cmdLine.handleFlag("jsconsole", false) ||
+ cmdLine.handleFlag("-jsconsole", false);
let debuggerFlag = cmdLine.handleFlag("jsdebugger", false);
let devtoolsFlag = cmdLine.handleFlag("devtools", false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment