Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build: fixing merge build breaks
Browse files Browse the repository at this point in the history
PR-URL: #277
Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
  • Loading branch information
kfarnung committed Jun 5, 2017
1 parent 7f1ea0d commit 897ea91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4812,7 +4812,7 @@ inline int Start_TTDReplay(Isolate* isolate, void* isolate_context,
// Start debug agent when argv has --debug
StartDebug(&env, nullptr, debug_options);

if (debug_options.inspector_enabled() && !debugger_running)
if (debug_options.inspector_enabled() && !v8_platform.InspectorStarted(&env))
return 12; // Signal internal error.

{
Expand Down
2 changes: 1 addition & 1 deletion src/node_debug_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DebugOptions {
int port() const;
void set_port(int port) { port_ = port; }
#if ENABLE_TTD_NODE
void do_wait_for_connect() { wait_connect_ = true; }
void do_wait_for_connect() { break_first_line_ = true; }
#endif

private:
Expand Down

0 comments on commit 897ea91

Please sign in to comment.