Fix grammar and JS example for Chrome command line switches docs
This commit is contained in:
parent
ab98dcd7cf
commit
29abfa68e9
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Supported Chrome command line switches
|
# Supported Chrome command line switches
|
||||||
|
|
||||||
Following command lines switches in Chrome browser are also Supported in
|
The following command lines switches in Chrome browser are also supported in
|
||||||
Electron, you can use [app.commandLine.appendSwitch][append-switch] to append
|
Electron, you can use [app.commandLine.appendSwitch][append-switch] to append
|
||||||
them in your app's main script before the [ready][ready] event of [app][app]
|
them in your app's main script before the [ready][ready] event of [app][app]
|
||||||
module is emitted:
|
module is emitted:
|
||||||
|
@ -11,6 +11,7 @@ app.commandLine.appendSwitch('remote-debugging-port', '8315');
|
||||||
app.commandLine.appendSwitch('host-rules', 'MAP * 127.0.0.1');
|
app.commandLine.appendSwitch('host-rules', 'MAP * 127.0.0.1');
|
||||||
|
|
||||||
app.on('ready', function() {
|
app.on('ready', function() {
|
||||||
|
// Your code here
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue