summaryrefslogtreecommitdiff
path: root/src/inspector_io.h
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2017-05-25 19:00:24 -0700
committerSam Roberts <vieuxtech@gmail.com>2017-06-06 14:41:17 -0700
commit2791b360c11324f7c9ed83350f264c500ade4fe8 (patch)
tree32c398bc37f0d864d294cc629167aa577c30f08c /src/inspector_io.h
parentdcfbbacba8c22613b956c1a3b9d958676e5d5e87 (diff)
downloadandroid-node-v8-2791b360c11324f7c9ed83350f264c500ade4fe8.tar.gz
android-node-v8-2791b360c11324f7c9ed83350f264c500ade4fe8.tar.bz2
android-node-v8-2791b360c11324f7c9ed83350f264c500ade4fe8.zip
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_io.h')
-rw-r--r--src/inspector_io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspector_io.h b/src/inspector_io.h
index 9ea1e0a785..6ef2ea54c4 100644
--- a/src/inspector_io.h
+++ b/src/inspector_io.h
@@ -72,6 +72,8 @@ class InspectorIo {
}
int port() const { return port_; }
+ std::string host() const { return options_.host_name(); }
+ std::vector<std::string> GetTargetIds() const;
private:
template <typename Action>
@@ -152,7 +154,6 @@ class InspectorIo {
std::string script_name_;
std::string script_path_;
- const std::string id_;
const bool wait_for_connect_;
int port_;