util.format(object) causes node debugger to terminate #4815
Closed
Description
$ node -v
v4.2.6
$ node debug format.js
< Debugger listening on port 5858
debug> . ok
break in format.js:1
> 1 var util = require('util');
2 var output = util.format({ p1: 'v1' });
3 console.log(output);
debug> n
break in format.js:2
1 var util = require('util');
> 2 var output = util.format({ p1: 'v1' });
3 console.log(output);
4
debug> n
program terminated
This is not reproducible in node@4.2.4. I can repro this in 4.2.5 and 4.2.6.
Ran into this because util.format is how log4js formats log data.
Activity