Closed sethyuan closed 8 months ago
Thanks for the tip! However, this only send console logs to the main process (node process), it does not collect console logs from the BrowserWindows. Any other tips?
I've created a simple project with npm init electron-app@latest electron-app -- --template=vite-typescript
and running console-ninja npm start
works for me:
How do you create your project? What do you see in Dev Tools?
If you've got CSP enabled, you'll need to disable it.
If you've got CSP enabled, you'll need to disable it.
This is the issue, thank you very much!
What happened?
I have a project setup with Electron Forge (the vite-typescript template), the console.log calls I add to the project are not caught by Console Ninja.
Version
v1.0.288
Steps to reproduce (or sample repo)
Create a project with Electron Forge's vite-typescript template, add a console.log in source code,
yarn start
to run local dev.Log output