Compiler: fix issue when using the returned value of Js.debugger