π 1. Installation
You can install the HyperProbe extension using either the visual Extensions Marketplace or keyboard-only Quick Open (works in VS Code, VSCodium, and Gitpod via the Open VSX Registry):- Extensions Panel (UI)
- Quick Open (Keyboard-Only)
- Open VS Code and navigate to the Extensions panel (
Cmd+Shift+Xon macOS /Ctrl+Shift+Xon Windows/Linux). - Search for HyperProbe and click Install.
βοΈ 2. Connection & Configuration
The extension must know where your HyperProbe Server is hosted.Setting the Server URL
By default, thehyperprobe.serverUrl setting is configured to point to:
- Open VS Code Settings (
Cmd+,/Ctrl+,). - Search for
hyperprobe.serverUrl. - Set your server URL, for example:
https://app.hyperprobe.co.
.vscode/settings.json
π― 3. Inserting and Managing Probes
Once configured, placing a probe on any line is as simple as a right-click.1
Map your workspace with .hprc
The extension discovers active running services by reading a
.hprc file placed at the root of your local repository. Create a .hprc file containing your Service UUID from the dashboard:.hprc
2
Select a Line & Insert
Right-click any executable statement in your editor and choose Insert a Snapshot (or Dynamic Log, Counter, etc.).
3
Configure Your Probe Options
The probe creation drawer will slide open with context-aware parameters:
- Watch Expressions: Enter custom code expressions to evaluate live (e.g.,
user.cart.totalorisNewCustomer()). - Condition: Filter execution paths. The probe will only capture data when the boolean expression evaluates to true (e.g.,
req.headers['x-user-id'] === 'user_1029'). - Hit Limit: Set how many times the probe fires before self-destructing in-process (snapshots default to
1for safety, logs default to100).
π 4. Inspecting Captured Telemetry
Click any completed or active probe in your side panel to open the Snapshot Inspector:- Interactive Call Stack: Click on any stack frame in the Call Stack block to dynamically switch the Variables panel to inspect the exact heap state of that specific scope level!
- Text Filters: Type into the Variables panel search bar to instantly isolate deep keys on heavy payloads (like Express request headers).
