Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMoshe Atlow <moshe@atlow.co.il>2022-09-10 20:01:42 +0300
committerGitHub <noreply@github.com>2022-09-10 20:01:42 +0300
commita165193c5c8e4bcfbd12b2c3f6e55a81a251c258 (patch)
tree67ac1ad452f653bb12f4dac44ebe2fb44fbbb3f4 /src
parentf9bfe785ee4aaf2cffc3059b56dfa28d0bb9a57e (diff)
test_runner: support using `--inspect` with `--test`
PR-URL: https://github.com/nodejs/node/pull/44520 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/node_options.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_options.cc b/src/node_options.cc
index 3ab9ab6e6da..d25cc36feaa 100644
--- a/src/node_options.cc
+++ b/src/node_options.cc
@@ -161,9 +161,6 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
errors->push_back("either --test or --watch can be used, not both");
}
- if (debug_options_.inspector_enabled) {
- errors->push_back("the inspector cannot be used with --test");
- }
#ifndef ALLOW_ATTACHING_DEBUGGER_IN_TEST_RUNNER
debug_options_.allow_attaching_debugger = false;
#endif