diff --git a/src/node_debug_options.cc b/src/node_debug_options.cc index d559ed6ec9fecb..b4a819e096f68a 100644 --- a/src/node_debug_options.cc +++ b/src/node_debug_options.cc @@ -9,7 +9,9 @@ namespace node { namespace { const int default_debugger_port = 5858; +#if HAVE_INSPECTOR const int default_inspector_port = 9229; +#endif // HAVE_INSPECTOR inline std::string remove_brackets(const std::string& host) { if (!host.empty() && host.front() == '[' && host.back() == ']')