From 179ab39f2816411f230c9c17a1e1c3f1c081f14c Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 21 Oct 2019 08:46:34 -0700 Subject: [PATCH] src: allow inspector without v8 platform --- src/node_options.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_options.cc b/src/node_options.cc index 23fa3c0f54c17e..186e18305c9cfe 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -27,10 +27,10 @@ std::shared_ptr cli_options{new PerProcessOptions()}; } // namespace per_process void DebugOptions::CheckOptions(std::vector* errors) { -#if !NODE_USE_V8_PLATFORM +#if !NODE_USE_V8_PLATFORM && !HAVE_INSPECTOR if (inspector_enabled) { errors->push_back("Inspector is not available when Node is compiled " - "--without-v8-platform"); + "--without-v8-platform and --without-inspector."); } #endif