mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
build: set --v8-enable-object-print by default
The flag improves the experience of debugging V8 with native debuggers. It doens't incur performance penality, the only downside is an increase in binary size by approximately 248 Kb. Ref: https://github.com/nodejs/node/pull/32834 PR-URL: https://github.com/nodejs/node/pull/34705 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
This commit is contained in:
parent
3b84048260
commit
b5e3fca04c
@ -54,6 +54,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,
|
||||
|
||||
|
@ -709,7 +709,7 @@ parser.add_option('--v8-lite-mode',
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user