diff --git a/common.gypi b/common.gypi index 0dc9b046298aff..da7758afc4c3c3 100644 --- a/common.gypi +++ b/common.gypi @@ -55,6 +55,9 @@ # Enable disassembler for `--print-code` v8 options 'v8_enable_disassembler': 1, + # Sets -dOBJECT_PRINT. + 'v8_enable_object_print%': 1, + # https://github.com/nodejs/node/pull/22920/files#r222779926 'v8_enable_handle_zapping': 0, diff --git a/configure.py b/configure.py index 77369a52045ad6..c38a4a1881eda1 100755 --- a/configure.py +++ b/configure.py @@ -651,7 +651,7 @@ parser.add_option('--v8-enable-object-print', action='store_true', dest='v8_enable_object_print', - default=False, + default=True, help='compile V8 with auxiliar functions for native debuggers') parser.add_option('--node-builtin-modules-path',