mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibCore: Allow inspecting any process launched with MAKE_INSPECTABLE=1
For now, EventLoop and Application still have a make_inspectable parameter, so that when working on an application you can temporarily hard-code it to be inspectable rather than having to set the env var each time.
This commit is contained in:
parent
d20ff6c891
commit
f240def414
Notes:
sideshowbarker
2024-07-17 11:43:26 +09:00
Author: https://github.com/AtkinsSJ
Commit: f240def414
Pull-request: https://github.com/SerenityOS/serenity/pull/13707
Reviewed-by: https://github.com/alimpfard
2 changed files with 12 additions and 7 deletions
|
@ -18,7 +18,8 @@ $ Inspector [pid]
|
|||
|
||||
Inspector facilitates process inspection via RPC.
|
||||
|
||||
The inspected process must have previously allowed the
|
||||
To inspect a process, it must have `MAKE_INSPECTABLE=1` in its environment,
|
||||
and it must have previously allowed the
|
||||
[`accept`(2)](help://man/2/accept) system call with
|
||||
[`pledge`(2)](help://man/2/pledge) to allow inspection
|
||||
via UNIX socket.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue