summaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node.cc b/src/node.cc
index b29df6449f..37bfa96f9e 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -4010,8 +4010,8 @@ static void ParseArgs(int* argc,
}
-static void StartDebug(Environment* env, const char* path,
- DebugOptions debug_options) {
+static void StartInspector(Environment* env, const char* path,
+ DebugOptions debug_options) {
#if HAVE_INSPECTOR
CHECK(!env->inspector_agent()->IsStarted());
v8_platform.StartInspector(env, path, debug_options);
@@ -4503,7 +4503,7 @@ inline int Start(Isolate* isolate, IsolateData* isolate_data,
env.Start(argc, argv, exec_argc, exec_argv, v8_is_profiling);
const char* path = argc > 1 ? argv[1] : nullptr;
- StartDebug(&env, path, debug_options);
+ StartInspector(&env, path, debug_options);
if (debug_options.inspector_enabled() && !v8_platform.InspectorStarted(&env))
return 12; // Signal internal error.