Start the crash reporter if not already running. You can optionally specify diagnosticsMode
to have the logs sent to
OpenFin on runtime close. (NOTE: diagnosticsMode
will turn on verbose logging and disable the sandbox for newly launched renderer processes. See https://developers.openfin.co/of-docs/docs/debugging#diagnostics-mode for more details.)
Example
fin.System.startCrashReporter({diagnosticsMode: true}).then(reporter => console.log(reporter)).catch(err => console.log(err));