-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Debugging Blink
goodov edited this page Sep 4, 2024
·
6 revisions
To debug Blink and other child processes, your debugger needs to support child process auto-attach.
On Windows, you can use these tools to make it work:
- Visual Studio 2022: Child Process Debugging Power Tool
- Visual Studio Code: Child Process Debugger Extension
V8 and Blink use pointer compression by default. This helps save RAM but can mess up how debuggers display most variables.
To turn off pointer compression, add this to your out/<Config>/args.gn
file:
v8_enable_pointer_compression = false
cppgc_enable_pointer_compression = false
cppgc_enable_caged_heap = false