diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-03-27 16:09:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 16:09:51 -0400 |
commit | 2874664e9131616b71dd0d7d23750245b023833f (patch) | |
tree | 6782161aa151d00f930bc0157e95b14d895347f0 /core/isolate.rs | |
parent | 8bcdb422e387a88075126d80e1612a30f5a7d89e (diff) |
feat: Support Inspector / Chrome Devtools (#4484)
This is a first pass implementation which is still missing several important
features:
- support for --inspect-brk (#4503)
- support for source maps (#4501)
- support for piping console.log to devtools console (#4502)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Matt Harrison <mt.harrison86@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'core/isolate.rs')
-rw-r--r-- | core/isolate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/isolate.rs b/core/isolate.rs index 3f4f89796..f876f2452 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -159,11 +159,11 @@ type IsolateErrorHandleFn = dyn FnMut(ErrBox) -> Result<(), ErrBox>; /// as arguments. An async Op corresponds exactly to a Promise in JavaScript. #[allow(unused)] pub struct Isolate { - pub(crate) v8_isolate: Option<v8::OwnedIsolate>, + pub v8_isolate: Option<v8::OwnedIsolate>, snapshot_creator: Option<v8::SnapshotCreator>, has_snapshotted: bool, snapshot: Option<SnapshotConfig>, - pub(crate) global_context: v8::Global<v8::Context>, + pub global_context: v8::Global<v8::Context>, pub(crate) shared_ab: v8::Global<v8::SharedArrayBuffer>, pub(crate) js_recv_cb: v8::Global<v8::Function>, pub(crate) js_macrotask_cb: v8::Global<v8::Function>, |