Cleanup and docs for the --js-flags

This commit is contained in:
Cheng Zhao 2015-11-13 12:22:08 +08:00
parent 0321a77a94
commit 78934dceb9
2 changed files with 16 additions and 10 deletions

View file

@ -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