Skip to content

Debugging Blink

goodov edited this page Sep 4, 2024 · 6 revisions

Child process auto-attach on Windows

To debug Blink and other child processes, a debugger should support child process auto-attach.

There are some extensions to make this happen on Windows:

Disable pointer compression

V8 and Blink uses pointer compression by default. This lowers RAM usage, but prevents debuggers to display any members properly.

To disable pointers compression add this to out/<Config>/gn.args:

v8_enable_pointer_compression = false
cppgc_enable_pointer_compression = false
cppgc_enable_caged_heap = false
Clone this wiki locally