Chromium Code Reviews| 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); |
| } |