Browse Source

Remove v8debug flag no longer supported by node

Kevin Sawicki 8 years ago
parent
commit
a2f0111205
1 changed files with 0 additions and 5 deletions
  1. 0 5
      atom/browser/javascript_environment.cc

+ 0 - 5
atom/browser/javascript_environment.cc

@@ -34,11 +34,6 @@ void JavascriptEnvironment::OnMessageLoopDestroying() {
 
 bool JavascriptEnvironment::Initialize() {
   auto cmd = base::CommandLine::ForCurrentProcess();
-  if (cmd->HasSwitch("debug-brk")) {
-    // Need to be called before v8::Initialize().
-    const char expose_debug_as[] = "--expose_debug_as=v8debug";
-    v8::V8::SetFlagsFromString(expose_debug_as, sizeof(expose_debug_as) - 1);
-  }
 
   // --js-flags.
   std::string js_flags = cmd->GetSwitchValueASCII(switches::kJavaScriptFlags);