🏁Getting started in 2 minutes
Get up and running with CtrlB's live debugger!
Last updated
Get up and running with CtrlB's live debugger!
Last updated
Install our VSCode Extension by heading over to the Extensions
tab or press(Ctrl+Shift+X) for Win/Linux or (Cmd+Shift+X) for Mac.
Search for CtrlB
, and you'll find the extension. Click on Install
.
If this is your first time, hit the sign-up button and create an account.
Use these credentials to sign in. You can see your API key by clicking user profile > Profile on the top right.
Install our language-specific agent and import it at the top of your code along with your API key and run this application like you usually do. Read how to install our agents here.
In the Applications
pane, select the application you'd like to add tracepoints on.
Open the code for this application in VSCode. Right-click on the line you'd like to trace and click. CtrlB: Add Trace Point
.
It is important you open VSCode editor at the root of the project you want to debug.
This would take you to the ProbeForm
. Click PutTracePoint
here.
Trace point gets added.
You can see data captured in the pane whenever this line is triggered again. Click on it to view variable data and stack details.