mirror of https://github.com/nodejs/node.git
5 lines
146 B
JavaScript
5 lines
146 B
JavaScript
|
if (process.argv[2] === 'handle-fatal-exception')
|
||
|
process._fatalException = process.exit.bind(null, 42);
|
||
|
|
||
|
require('vm').runInDebugContext('*');
|