mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
Ladybird/CMake: Launch gdb with follow fork mode to debug WebContent
This commit is contained in:
parent
d1b2c2977e
commit
fb71dc5141
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ add_custom_target(run
|
|||
)
|
||||
|
||||
add_custom_target(debug
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" gdb "$<TARGET_FILE:ladybird>"
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}" gdb -ex "set follow-fork-mode child" "$<TARGET_FILE:ladybird>"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue