Retrieve more detailed errors from Electron preload script

Viewed 185

I am trying to run a new Electron app with a simple preload script and I'm seeing a syntax error in the developer tools even though TypeScript has no problems compiling. Unfortunately as Electron only logs the error with console.error (which shows the error text and the line on which the error is logged in the developer tools), there is no way that I can find to view the actual location of the syntax issue. All I can see is this: enter image description here

Is there any way to view the entire stack trace?

0 Answers
Related