Open salomvary opened 7 years ago
Can you revise your code to call getMainProcessLogs
just before stopping the app?
@zeke Do you mean getting logs before stop in addition to getting it after stop?
The whole problem here is getting logs that are potentially created during application quit.
The whole problem here is getting logs that are potentially created during application quit.
Sorry, didn't realize that was your intent. In that case, I'm not sure.
Given an application based on the Electron quick-start example plus some console.logs (eg. first line of
main.js
) andstart-stop.js
as below:Expected: all logs during application run are printed out. Actual: nothing is printed out.
Use case: debugging events triggered during quitting the application.
Electron 1.4.4 Spectron 3.4.0 Node 6.2.2