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

3 lines
143 B
JavaScript

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