mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update in-tree docs to point to the new book (#32743)
* Update in-tree docs to point to the new book * Revive build setup section in README as quickstart guide * Apply feedback about titles
This commit is contained in:
parent
72e6a1f007
commit
34d9be70f9
12 changed files with 63 additions and 1413 deletions
|
@ -1,32 +1,7 @@
|
|||
Command Line Arguments
|
||||
========================
|
||||
# General
|
||||
# Command line arguments
|
||||
|
||||
You can see available commands with:
|
||||
```
|
||||
./mach -h
|
||||
./mach <sub-command> -h
|
||||
```
|
||||
Only arguments that need more explanation will be documented here.
|
||||
Moved to the Servo book:
|
||||
|
||||
# Run
|
||||
## Enable Experimental Features
|
||||
Use `--pref` to enable experimental features like experimental DOM APIs, JavaScript APIs and CSS properties.
|
||||
|
||||
e.g. To enable Web VR and Bluetooth features:
|
||||
```
|
||||
./mach run -d -- --pref dom.webvr.enabled --pref dom.bluetooth.enabled ...
|
||||
```
|
||||
|
||||
You can find all the available preferences at [resources/prefs.json](../resources/prefs.json).
|
||||
|
||||
# Debugging
|
||||
## Remote Debugging
|
||||
Use `--devtools 6000` to start the devtools server on port 6000.
|
||||
|
||||
e.g.
|
||||
```
|
||||
./mach run -d --devtools=6000 https://servo.org
|
||||
```
|
||||
|
||||
To connect to the server, follow [this guide](https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_Desktop#Connect).
|
||||
- [Running servoshell](https://book.servo.org/running-servoshell.html)
|
||||
- Hacking on Servo
|
||||
- [Running servoshell](https://book.servo.org/hacking/running-servoshell.html)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue