Supported Applications
The V8 probe covers every application that runs JavaScript in a Chrome or Electron host. This includes:- Web apps in Chrome: Gmail, Slack (web), Salesforce, Shopify, HubSpot, GitHub
- Electron desktop apps: VS Code, Slack (desktop), Notion, GitHub Desktop, WhatsApp Desktop, Discord
- Any Electron app — if an application is built on Electron, the V8 probe can attach to it automatically
How the V8 Probe Works
NSP uses a two-tier extraction strategy for V8. The fast-path runs on every poll cycle; the fallback runs only when the fast-path is unavailable.- ASO Fast-Path (Primary)
- Heap Snapshot Fallback
On every poll cycle, NSP injects a small JavaScript snippet into the running page via a CDP
Runtime.evaluate call. This snippet reads the application’s internal data model directly from the V8 heap and returns a compact, structured payload.- Latency: 5–50 ms per poll
- Accuracy: >99%
- Trigger: Used on every poll once the probe is warmed
Prerequisites
Before the V8 probe can attach, Chrome must be running with its CDP remote debugging port enabled. Standard Chrome installations do not enable this by default.Setup
Follow these steps to configure Chrome for V8 probing.1
Close all existing Chrome windows
Quit Chrome completely — closing individual tabs is not enough. Make sure no Chrome processes remain in Task Manager before proceeding.
2
Relaunch Chrome with the remote debugging flag
Open a new terminal and run one of the following commands:Chrome will open normally. The debugging port runs silently in the background — there is no visible indicator that it is active.
- Command Prompt
- PowerShell
3
Verify that the daemon detects Chrome
Call the apps endpoint to confirm NSP has found the Chrome process and begun probing:You should see a response similar to this:If
probe_status is "attaching", wait a few seconds and try again. The cold probe typically completes within 3–90 seconds.