Documentation: Update VSCodeConfiguration.md

- Update debug description for debugging on Linux with VSCode
- Update build paths in documentation
This commit is contained in:
Golho 2025-05-05 21:35:16 +02:00 committed by Tim Flynn
commit 0c2db2ab35
Notes: github-actions[bot] 2025-05-06 14:01:23 +00:00
2 changed files with 6 additions and 6 deletions

View file

@ -49,9 +49,9 @@ This error typically arises when CLion is not configured to use the correct buil
**Solution**: Ensure that CLion's build directory is set to the correct build directory for the selected profile.
Navigate to `Settings -> Build, Execution, Deployment -> CMake` and in your selected profile, set the `Build directory` according to the profile:
- Default -> "`Build/ladybird`"
- Debug -> "`Build/ladybird-debug`"
- Sanitizer -> "`Build/ladybird-sanitizers`"
- Default -> "`Build/release`"
- Debug -> "`Build/debug`"
- Sanitizer -> "`Build/sanitizers`"
## Notes for WSL Users

View file

@ -294,7 +294,7 @@ If you want to run the debugger, first place the content below in `.vscode/launc
"name": "Attach to WebContent",
"type": "lldb",
"request": "attach",
"program": "${workspaceFolder}/Build/ladybird-debug/bin/Ladybird.app/Contents/MacOS/WebContent",
"program": "${workspaceFolder}/Build/debug/bin/Ladybird.app/Contents/MacOS/WebContent",
}
],
}
@ -319,7 +319,7 @@ For Linux, the `launch.json` will instead be the file below.
"name": "Attach and debug",
"type": "cppdbg",
"request": "attach",
"program": "${workspaceRoot}/Build/ladybird-debug/libexec/WebContent",
"program": "${workspaceRoot}/Build/debug/libexec/WebContent",
"MIMode": "gdb",
},
]
@ -332,7 +332,7 @@ Running Ladybird as follows:
BUILD_PRESET=Debug Meta/ladybird.sh run ladybird --debug-process WebContent
```
Then follow the same steps found in the Mac section.
Then follow the same steps found in the Mac section. Notice also that you need to have `gdb` (the GNU Debugger) installed.
### License snippet