From 7469d09daeecd806cb9511678cdba3b465d302b1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 15 May 2017 09:07:52 -0700 Subject: [PATCH] Build v8 inspector through ndoe --- common.gypi | 2 +- electron.gyp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index ee8b1e857680..6f1ad5f75216 100644 --- a/common.gypi +++ b/common.gypi @@ -43,7 +43,7 @@ 'V8_BASE': '', 'v8_postmortem_support': 'false', 'v8_enable_i18n_support': 'false', - 'v8_inspector': 'false', + 'v8_inspector': 'true', }, # Settings to compile node under Windows. 'target_defaults': { diff --git a/electron.gyp b/electron.gyp index 9bfcbcee7c0e..e0c91c151fd9 100644 --- a/electron.gyp +++ b/electron.gyp @@ -227,6 +227,7 @@ # We need to access internal implementations of Node. 'NODE_WANT_INTERNALS=1', 'NODE_SHARED_MODE', + 'HAVE_INSPECTOR=1', # This is defined in skia/skia_common.gypi. 'SK_SUPPORT_LEGACY_GETTOPDEVICE', # Disable warnings for g_settings_list_schemas.