mirror of
https://github.com/denoland/deno.git
synced 2025-01-11 16:42:21 -05:00
fix v8-flags example to manual (#3470)
This commit is contained in:
parent
c3c69aff7e
commit
ef17488398
1 changed files with 9 additions and 3 deletions
|
@ -764,9 +764,15 @@ source /usr/local/etc/bash_completion.d/deno.bash
|
||||||
|
|
||||||
### V8 flags
|
### V8 flags
|
||||||
|
|
||||||
V8 has many many internal command-line flags, that you can see with
|
V8 has many many internal command-line flags.
|
||||||
`--v8-options`.
|
|
||||||
[It looks like this.](https://gist.github.com/ry/a610ce48cba2f0225f9c81a5a833fc87)
|
```shell
|
||||||
|
# list available v8 flags
|
||||||
|
$ deno --v8-flags=--help
|
||||||
|
|
||||||
|
# example for applying multiple flags
|
||||||
|
$ deno --v8-flags=--expose-gc,--use-strict
|
||||||
|
```
|
||||||
|
|
||||||
Particularly useful ones:
|
Particularly useful ones:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue