summaryrefslogtreecommitdiff
path: root/src/inspector_agent.h
diff options
context:
space:
mode:
authorEugene Ostroukhov <eostroukhov@chromium.org>2017-03-27 13:11:05 -0700
committerEugene Ostroukhov <eostroukhov@chromium.org>2017-03-30 13:25:05 -0700
commit7954d2a4c7f47764643b0941635e093af6170f09 (patch)
tree2baa58d1b2ad802b08791f57e9cee0ca4c204825 /src/inspector_agent.h
parent4ddd23f0ec5202b131b7070d543b20cd031f052a (diff)
downloadandroid-node-v8-7954d2a4c7f47764643b0941635e093af6170f09.tar.gz
android-node-v8-7954d2a4c7f47764643b0941635e093af6170f09.tar.bz2
android-node-v8-7954d2a4c7f47764643b0941635e093af6170f09.zip
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.h1
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;
};