| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
V8 Inspector bridge that lets Chrome DevTools attach to a running NativeScript isolate.
use runtime_devtools::{DevtoolsServer, DevtoolsServerConfig};
// On the V8 thread, after creating the isolate and context:
let mut server = DevtoolsServer::attach(
&DevtoolsServerConfig::default(), // host: 127.0.0.1, port: 43000
isolate,
context,
)?;
println!("DevTools: {}", server.endpoint().frontend_url);
// In the JS execution loop:
server.pump_messages(); // dispatches pending CDP messages to V8Open the frontend_url from DevtoolsEndpoint in Chrome, or use:
chrome://inspect → Configure → add 127.0.0.1:43000
| Back | FazBrowse Home | New Git URL |