electron/spec-main/fixtures/module/print-crash-parameters.js

2 lines
143 B
JavaScript

process.crashReporter.addExtraParameter('hello', 'world');
process.stdout.write(JSON.stringify(process.crashReporter.getParameters()) + '\n');