Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: src/d8.cc

Issue 2744553002: [debugger] do not enable liveedit by default. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index c28d4ec89e164be02e0cf0ca2578b0432dc91cfd..731fdb373528761b0ccd26c37096b100e22b6eb8 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -2030,6 +2030,8 @@ class InspectorClient : public v8_inspector::V8InspectorClient {
.ToLocalChecked();
CHECK(context->Global()->Set(context, function_name, function).FromJust());
+ v8::debug::SetLiveEditEnabled(isolate_, true);
+
context_.Reset(isolate_, context);
}
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698