Remove v8debug flag no longer supported by node
This commit is contained in:
parent
056e5b951b
commit
a2f0111205
1 changed files with 0 additions and 5 deletions
|
@ -34,11 +34,6 @@ void JavascriptEnvironment::OnMessageLoopDestroying() {
|
||||||
|
|
||||||
bool JavascriptEnvironment::Initialize() {
|
bool JavascriptEnvironment::Initialize() {
|
||||||
auto cmd = base::CommandLine::ForCurrentProcess();
|
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.
|
// --js-flags.
|
||||||
std::string js_flags = cmd->GetSwitchValueASCII(switches::kJavaScriptFlags);
|
std::string js_flags = cmd->GetSwitchValueASCII(switches::kJavaScriptFlags);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue