Read Windows command line option in Electron renderer process

Viewed 2601

I have a deployed Electron App in Windows. I'm trying to add a command line option on the .exe.

"C:\Program Files\MyApp.exe" -debug

How I can read the debug flag inside my App? I tried with process.argv, but the debug variable isn't there.

1 Answers
Related