var Debug = {
  not_yet_implemented_because : function(_, s) { throw new Error("not_yet_implemented_because: "+s) },
  impossible_because : function(_, s) { throw new Error("impossible_because: "+s) },
  impossible_with_heap_because : function(_, s) { throw new Error("impossible_with_heap_because: "+s) },
  impossible_resvalue : function(_, _, s) { throw new Error(s); },
  ref_get_value : function() {},
  ref_get_value_2 : function() {},
  run_object_method : function() {},
  run_object_heap_set_extensible : function() {},
  lexical_env_get_identifier_ref : function() {}
};

@@ -56,31 +56,27 @@
 _, s) %7B 
-throw new Error
+console.log
 (%22not_ye
@@ -142,39 +142,35 @@
 ion(_, s) %7B 
-throw new Error
+console.log
 (%22impossible
@@ -237,31 +237,27 @@
 _, s) %7B 
-throw new Error
+console.log
 (%22imposs
@@ -336,23 +336,19 @@
 ) %7B 
-throw new Error
+console.log
 (s);

print errors instead of throwing exception