-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Running servoshell | ||
|
||
Assuming you’re in the directory containing `servo`, you can run servoshell with: | ||
|
||
```sh | ||
$ ./servo [url] [options] | ||
``` | ||
|
||
Use `--help` to list the available command line options: | ||
|
||
```sh | ||
$ ./servo --help | ||
``` | ||
|
||
Use `--pref` to [configure Servo’s behaviour](https://github.com/servo/servo/blob/main/resources/prefs.json), including to enable experimental web platform features. | ||
For example, to run our [Conway’s Game of Life demo](https://demo.servo.org/experiments/webgpu-game-of-life/) with WebGPU enabled: | ||
|
||
```sh | ||
$ ./servo --pref dom.webgpu.enabled https://demo.servo.org/experiments/webgpu-game-of-life/ | ||
``` | ||
|
||
Use `--devtools=6080` to enable support for [debugging pages with Firefox devtools](https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-over-the-network): | ||
|
||
```sh | ||
$ ./servo --devtools=6080 | ||
``` | ||
|
||
<div class="warning"> | ||
|
||
**Note:** devtools support is currently broken ([#29831](https://github.com/servo/servo/issues/29831)). | ||
</div> |