diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-11-28 21:59:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 21:59:36 +0100 |
commit | fd51b2e506f3ea3cc49bfb2bcb19bc684f563f60 (patch) | |
tree | 7b8deca6a97e53048293d92cb471d1726e0e3a0f /cli/worker.rs | |
parent | 9202611e3695c7091f257b261af809697df959ab (diff) |
fix(npm): allow to inspect npm modules with --inspect-brk (#16841)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index fb021b614..ad7b4e8ed 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -70,6 +70,7 @@ impl CliMainWorker { &mut self.worker.js_runtime, &self.main_module.to_file_path().unwrap().to_string_lossy(), true, + self.ps.options.inspect_brk().is_some(), )?; } else { self.execute_main_module_possibly_with_npm().await?; |