Skip to content

Commit 179ab39

Browse files
committed
src: allow inspector without v8 platform
1 parent ce72cd7 commit 179ab39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_options.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ std::shared_ptr<PerProcessOptions> cli_options{new PerProcessOptions()};
2727
} // namespace per_process
2828

2929
void DebugOptions::CheckOptions(std::vector<std::string>* errors) {
30-
#if !NODE_USE_V8_PLATFORM
30+
#if !NODE_USE_V8_PLATFORM && !HAVE_INSPECTOR
3131
if (inspector_enabled) {
3232
errors->push_back("Inspector is not available when Node is compiled "
33-
"--without-v8-platform");
33+
"--without-v8-platform and --without-inspector.");
3434
}
3535
#endif
3636

0 commit comments

Comments
 (0)