Cleanup and docs for the --js-flags
This commit is contained in:
parent
0321a77a94
commit
78934dceb9
2 changed files with 16 additions and 10 deletions
|
@ -31,6 +31,15 @@ Disables the disk cache for HTTP requests.
|
|||
|
||||
Enables remote debugging over HTTP on the specified `port`.
|
||||
|
||||
## --js-flags=`flags`
|
||||
|
||||
Specifies the flags passed to JS engine. It has to be passed when starting
|
||||
Electron if you want to enable the `flags` in the main process.
|
||||
|
||||
```bash
|
||||
$ electron --js-flags="--harmony_proxies --harmony_collections" your-app
|
||||
```
|
||||
|
||||
## --proxy-server=`address:port`
|
||||
|
||||
Use a specified proxy server, which overrides the system setting. This switch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue