From 7954d2a4c7f47764643b0941635e093af6170f09 Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Mon, 27 Mar 2017 13:11:05 -0700 Subject: inspector: use inspector API for "break on start" This change removes a need for using deprecated debug context for breaking at the start of the main module. PR-URL: https://github.com/nodejs/node/pull/12076 Reviewed-By: Ben Noordhuis --- src/inspector_agent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inspector_agent.h') diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 9cc2fa676d..50575d7c28 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -43,6 +43,7 @@ class Agent { void WaitForDisconnect(); void FatalException(v8::Local error, v8::Local message); + void SchedulePauseOnNextStatement(const std::string& reason); private: AgentImpl* impl; }; -- cgit v1.2.3