summaryrefslogtreecommitdiff
path: root/cli/compilers/wasm.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-04-03 19:40:11 +0200
committerGitHub <noreply@github.com>2020-04-03 13:40:11 -0400
commitc0cb198114ccc2dc4fa2764d307ad985c456882a (patch)
treed805b82639334dc2126dccd03dcbcfb62ef12f14 /cli/compilers/wasm.rs
parent3f489ae1aeff6f27b2214dc8201ed068abd5f973 (diff)
Make inspector more robust, add --inspect-brk support (#4552)
Diffstat (limited to 'cli/compilers/wasm.rs')
-rw-r--r--cli/compilers/wasm.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs
index bd22a2523..ff7a04097 100644
--- a/cli/compilers/wasm.rs
+++ b/cli/compilers/wasm.rs
@@ -56,8 +56,9 @@ impl WasmCompiler {
let entry_point =
ModuleSpecifier::resolve_url_or_path("./__$deno$wasm_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);