Closed
Description
- Version: 6.4.0
- Platform: Linux 4.2.0-42-generic debugger: use requireRepl() to load debugger repl #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem: REPL
Example Code:
var p = new Proxy([], {});
p[0] = 'abc';
console.log('done');
Problem:
Running in debug mode via node debug index.js
, REPL cannot get the value of p
, instead outputting illegal access
. Getting p[0]
or p.length
within REPL works.
Additional Notes:
- Remote debuggers are unable to debug as soon as a new Proxy instance is created. (This might be related to REPL I'm guessing.)
- I have tried multiple handle configurations for the Proxy. All have produced this same result.