Embedding script 'function c(f, ...args) { return f(...args); }'
Tests that stepping works on snapshotted function
paused
  }
  #debugger;
  c(f, 2);

paused
  debugger;
  #c(f, 2);
}

paused
function c(f, ...args) { #return f(...args); }

paused
  function f(x) {
    #return x * 2;
  }

paused
    return x * 2;
  #}
  debugger;

paused
function c(f, ...args) { return f(...args); #}

paused
  c(f, 2);
#}

paused
test(#)

