-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Is there a way to pass custom arguments the the debugged Electron app ? I tried with a shortcut (lnk) and I cannot see options in the UI or config file.
Edit: the only way I found for the moment is to modify the file https://github.com/pd4d10/debugtron/blob/main/src/main/actions.ts with, for example:
const sp = spawn( app.exePath, [ `--myarg=myvalue`, `--inspect=${nodePort}`, `--remote-debugging-port=${windowPort}` ], { cwd: process.platform === 'win32' ? path.dirname(app.exePath) : '/', } )Then build with
npm install && npm run start
Thanks!
Metadata
Metadata
Assignees
Labels
No labels