diff options
author | Eugene Ostroukhov <eostroukhov@chromium.org> | 2017-03-27 13:11:05 -0700 |
---|---|---|
committer | Eugene Ostroukhov <eostroukhov@chromium.org> | 2017-03-30 13:25:05 -0700 |
commit | 7954d2a4c7f47764643b0941635e093af6170f09 (patch) | |
tree | 2baa58d1b2ad802b08791f57e9cee0ca4c204825 /src/inspector_agent.h | |
parent | 4ddd23f0ec5202b131b7070d543b20cd031f052a (diff) | |
download | node-new-7954d2a4c7f47764643b0941635e093af6170f09.tar.gz |
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 <info@bnoordhuis.nl>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r-- | src/inspector_agent.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<v8::Value> error, v8::Local<v8::Message> message); + void SchedulePauseOnNextStatement(const std::string& reason); private: AgentImpl* impl; }; |