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, your debugger needs to support child process auto-attach.

On Windows, you can use these tools to make it work:

Disabling Pointer Compression

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
Clone this wiki locally