Stepping out of Wasm back into JavaScript

This tests that the DevTools can seamless step out of a Wasm function back into JavaScript.

Steps

  1. Open DevTools
  2. Reload this page
  3. Locate foo function in stepping-out-wasm.wasm module and set a breakpoint on the i32.const 1 line
  4. Click
  5. The page pauses on the breakpoint that you set in foo
  6. Now hitting Step or Step Out should get you into the bar JavaScript function right onto the console.log line