mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Documentation: Change macOS Ladybird command to launch in the foreground
Also add flags to direct stdout/stderr to the terminal, and show how to pass arguments to the browser.
This commit is contained in:
parent
72e5b10b30
commit
08572d45b8
Notes:
sideshowbarker
2024-07-16 22:22:13 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/08572d45b8 Pull-request: https://github.com/SerenityOS/serenity/pull/21970 Reviewed-by: https://github.com/nico ✅
1 changed files with 11 additions and 2 deletions
|
@ -156,10 +156,19 @@ To automatically run in gdb:
|
|||
ninja -C Build/ladybird debug
|
||||
```
|
||||
|
||||
To run without ninja rule:
|
||||
To run without ninja rule on non-macOS systems:
|
||||
```
|
||||
export SERENITY_SOURCE_DIR=$(realpath ../)
|
||||
./Build/ladybird/bin/Ladybird # or, in macOS: open ./Build/ladybird/bin/Ladybird.app
|
||||
./Build/ladybird/bin/Ladybird
|
||||
```
|
||||
|
||||
To run without ninja rule on macOS:
|
||||
```
|
||||
export SERENITY_SOURCE_DIR=$(realpath ../)
|
||||
open -W --stdout $(tty) --stderr $(tty) ./Build/ladybird/bin/Ladybird.app
|
||||
|
||||
# Or to launch with arguments:
|
||||
open -W --stdout $(tty) --stderr $(tty) ./Build/ladybird/bin/Ladybird.app --args https://ladybird.dev
|
||||
```
|
||||
|
||||
### Debugging with CLion
|
||||
|
|
Loading…
Reference in a new issue