diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-04-03 19:40:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 13:40:11 -0400 |
commit | c0cb198114ccc2dc4fa2764d307ad985c456882a (patch) | |
tree | d805b82639334dc2126dccd03dcbcfb62ef12f14 /cli/compilers/ts.rs | |
parent | 3f489ae1aeff6f27b2214dc8201ed068abd5f973 (diff) |
Make inspector more robust, add --inspect-brk support (#4552)
Diffstat (limited to 'cli/compilers/ts.rs')
-rw-r--r-- | cli/compilers/ts.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs index a74e4a096..641f16bca 100644 --- a/cli/compilers/ts.rs +++ b/cli/compilers/ts.rs @@ -255,8 +255,9 @@ impl TsCompiler { fn setup_worker(global_state: GlobalState) -> CompilerWorker { let entry_point = ModuleSpecifier::resolve_url_or_path("./__$deno$ts_compiler.ts").unwrap(); - let worker_state = State::new(global_state.clone(), None, entry_point) - .expect("Unable to create worker state"); + let worker_state = + State::new(global_state.clone(), None, entry_point, DebugType::Internal) + .expect("Unable to create worker state"); // Count how many times we start the compiler worker. global_state.compiler_starts.fetch_add(1, Ordering::SeqCst); |