diff options
author | Moshe Atlow <moshe@atlow.co.il> | 2022-09-10 20:01:42 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2022-10-04 13:28:56 +0300 |
commit | 3c1e9d41c82d8c0a916071cf8f695135a024f2fa (patch) | |
tree | 5b5d9baa71fd00285ed76045c0d66c532bc50d14 /src | |
parent | 36227ed8621744ab837ab1a760c03150713aa4c1 (diff) |
test_runner: support using `--inspect` with `--test`
PR-URL: https://github.com/nodejs/node/pull/44520
Backport-PR-URL: https://github.com/nodejs/node/pull/44813
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.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_options.cc b/src/node_options.cc index d08184f3da5..f2923af7a7c 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 |