New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a few minimal debugging docs. #14187
Conversation
This makes necessary only one line change to remove it if needed.
Heads up! This PR modifies the following files:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice improvement over the status quo of no docs :)
## Debugging SpiderMonkey. | ||
|
||
You can build Servo with a debug version of SpiderMonkey passing the | ||
`--debug-mozjs` flag to `mach`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./mach build
`--debug-mozjs` flag to `mach`. | ||
|
||
Note that this sometimes can cause problems when an existing build exists, so | ||
you might have to delete the `mozjs` build directory, or running `./mach clean`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or run `./mach clean` before performing the first `--debug-mozjs` build.
Amended, let me know if you think it's good to go :) |
@bors-servo: r+ |
📌 Commit 6c5cb9c has been approved by |
Add a few minimal debugging docs. r? @jdm (or anyone else) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14187) <!-- Reviewable:end -->
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
r? @jdm (or anyone else)
This change is