summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPavel Feldman <pfeldman@chromium.org>2016-02-07 08:47:14 -0800
committerAli Ijaz Sheikh <ofrobots@google.com>2016-05-30 09:05:46 -0700
commit84ad31fff369f0ec9a972c2a11cdefee316dab9d (patch)
treec95e0be1802b6f1d3e167f74901efe287e1b0887 /configure
parented2eacbc426ddbb57fa3faf35996b309d71b968e (diff)
downloadandroid-node-v8-84ad31fff369f0ec9a972c2a11cdefee316dab9d.tar.gz
android-node-v8-84ad31fff369f0ec9a972c2a11cdefee316dab9d.tar.bz2
android-node-v8-84ad31fff369f0ec9a972c2a11cdefee316dab9d.zip
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.')