Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 891 Bytes

Debugging-Blink.md

File metadata and controls

20 lines (13 loc) · 891 Bytes

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