diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2017-05-26 05:00:24 +0300 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2017-06-07 00:41:17 +0300 |
commit | 2791b360c11324f7c9ed83350f264c500ade4fe8 (patch) | |
tree | 32c398bc37f0d864d294cc629167aa577c30f08c /src/inspector_agent.h | |
parent | dcfbbacba8c22613b956c1a3b9d958676e5d5e87 (diff) |
inspector: allow --inspect=host:port from js
PR-URL: https://github.com/nodejs/node/pull/13228
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r-- | src/inspector_agent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 367b460d203..80967212cd7 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -95,6 +95,8 @@ class Agent { // Calls StartIoThread() from off the main thread. void RequestIoThreadStart(); + DebugOptions& options() { return debug_options_; } + private: node::Environment* parent_env_; std::unique_ptr<NodeInspectorClient> client_; |