🚀 The 2-Minute Speedrun
1
1. Configure the VS Code Extension
- Search for HyperProbe in the VS Code Marketplace and click Install (or launch Quick Open with
Ctrl+P/Cmd+P, pasteext install hyperprobe.hyperprobe-extension, and hit Enter). - Click the HyperProbe debug icon in your Activity Bar on the left.
- Click the Login button inside the HyperProbe panel. You will be redirected to HyperProbe dashboard at https://app.hyperprobe.co
- Sign in via SSO, create a new service, and copy your Service UUID from the dashboard.
2
2. Map Your Local Code (.hprc)
Create a
.hprc file at the root of your repository to map your local workspace to your service:.hprc
3
3. Add the SDK Dependency
Add the lightweight agent dependency to your project setup:
- Node.js SDK
- Java Agent
Install the package using your preferred package manager:
4
4. Initialize the SDK Agent
Initialize the HyperProbe singleton inside your codebase or launch routine:
- Node.js (TypeScript)
- Node.js (CommonJS)
- Java JVM Agent
Create a file named
hyperprobe.ts in your source root, and import it as early as possible in your main entrypoint (e.g. index.ts):src/hyperprobe.ts
src/index.ts
5
5. Place Your First Probe
- Open any source file in VS Code.
- Right-click an executable line of code and select Insert a Snapshot.
- Trigger the path in your running service (e.g., hit the endpoint or perform the UI action).
6
6. View Live Variables
Inspect the live heap state, local variables, and the full call stack directly in your VS Code sidebar!Variables and stacks will populate inside your editor’s sidebar panel the instant execution hits your probed line.
🛡️ Production Safety Checklist
Before you deploy to production, verify these two configuration items:- Source Maps / Debug Symbols Enabled: For TypeScript/Babel projects, ensure source-maps are enabled and compiled into your build. For JVM projects, ensure debug symbols are included in compiled JAR artifacts so byte positions align.
- CI Pipeline Commit Injection: Verify that your CI pipeline is injecting the active commit SHA into the environment (e.g.
GIT_COMMIT=$(git rev-parse HEAD)).
