summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/post.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/post.js b/src/js/post.js
index 5c854b3df..8e57c4a06 100644
--- a/src/js/post.js
+++ b/src/js/post.js
@@ -35,6 +35,9 @@
"f64-to-int": function(x) {
return x | 0;
},
+ "debugger": function() {
+ debugger;
+ },
},
parent: Module // Module inside wasm-js.cpp refers to wasm-js.cpp; this allows access to the outside program.
};