Flags
The list of supported flags is available in the Electron official documentation (opens new window)
All flags go under the switches key
{
switches: [],
}
Simple flags
To add a new flag, simple do the following:
{
switches: [
'--disable-http-cache',
],
}
Flags with arguments
If you need to pass a flag with an argument, just do the following:
{
switches: [
['--remote-debugging-port', 'port'],
],
}
← General Introduction →