Mention how to test
authorKevin Sawicki <kevin@github.com>
Tue, 24 Jan 2017 22:04:56 +0000 (14:04 -0800)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2017 22:04:56 +0000 (14:04 -0800)
docs/api/crash-reporter.md

index daaaae823b1db58e83a97c6db699f8c9749b84b0..417c86401ac79f9d7c082b8f3d83f98195347eed 100644 (file)
@@ -54,7 +54,7 @@ You can pass different options to `crashReporter.start` when calling from differ
 **Note** Child processes created via the `child_process` module will not have access to the Electron modules. 
 Therefore, to collect crash reports from them, use `process.crashReporter.start` instead. Pass the same options as above
 along with an additional one called `crashesDirectory` that should point to a directory to store the crash
-reports temporarily.
+reports temporarily. You can test this out by calling `process.crash()` to crash the child process.
 
 **Note:** To collect crash reports from child process in Windows, you need to add this extra code as well.
 This will start the process that will monitor and send the crash reports. Replace `submitURL`, `productName` and `tmpPath`