summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-05-12 21:08:22 +0200
committerBert Belder <bertbelder@gmail.com>2020-05-13 00:12:46 +0200
commite34a3b61f449cf6197b6d701770a85d9205c2a7b (patch)
treeccafaaf7e28197c7580028cb879ead110d6ed2b2 /cli/main.rs
parente90c95b465e361a0f06016ad0f16582e7f9a54a6 (diff)
Make --inspect-brk pause on the first line of _user_ code (#5250)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 0b88d7346..5b90e7134 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -74,7 +74,6 @@ use crate::msg::MediaType;
use crate::op_error::OpError;
use crate::ops::io::get_stdio;
use crate::permissions::Permissions;
-use crate::state::DebugType;
use crate::state::State;
use crate::tsc::TargetLib;
use crate::worker::MainWorker;
@@ -140,7 +139,7 @@ fn create_main_worker(
global_state: GlobalState,
main_module: ModuleSpecifier,
) -> Result<MainWorker, ErrBox> {
- let state = State::new(global_state, None, main_module, DebugType::Main)?;
+ let state = State::new(global_state, None, main_module, false)?;
let mut worker = MainWorker::new(
"main".to_string(),