summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPavel Feldman <pfeldman@chromium.org>2016-02-07 08:47:14 -0800
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-07-05 22:09:23 +0200
commit7d4f038a7875d24262902feb0bf44da47a75f162 (patch)
tree4c65e6dcf34ff68b65d04daca487d84e5593df88 /configure
parent62105288d34a1e2b00c8bb4eb608cbda6b7bf20c (diff)
downloadnode-new-7d4f038a7875d24262902feb0bf44da47a75f162.tar.gz
src,lib: v8-inspector support
This change introduces experimental v8-inspector support. This brings the DevTools debug protocol allowing Node.js to be debugged with Chrome DevTools native, or through other debuggers supporting that protocol. Partial WebSocket support, to the extent required by DevTools, is included. This is derived from the implementation in Blink. v8-inspector support can be disabled by the --without-inspector configure flag. PR-URL: https://github.com/nodejs/node/pull/6792 Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: addaleax - Anna Henningsen <anna@addaleax.net> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 10fd1b5fff..f7a3f41ae0 100755
--- a/configure
+++ b/configure
@@ -415,6 +415,11 @@ parser.add_option('--no-browser-globals',
help='do not export browser globals like setTimeout, console, etc. ' +
'(This mode is not officially supported for regular applications)')
+parser.add_option('--without-inspector',
+ action='store_true',
+ dest='without_inspector',
+ help='disable experimental V8 inspector support')
+
(options, args) = parser.parse_args()
# Expand ~ in the install prefix now, it gets written to multiple files.
@@ -810,6 +815,7 @@ def configure_node(o):
o['variables']['library_files'] = options.linked_module
o['variables']['asan'] = int(options.enable_asan or 0)
+ o['variables']['v8_inspector'] = b(not options.without_inspector)
if options.use_xcode and options.use_ninja:
raise Exception('--xcode and --ninja cannot be used together.')