summaryrefslogtreecommitdiff
path: root/cli/compilers/ts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/compilers/ts.rs')
-rw-r--r--cli/compilers/ts.rs5
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);