CtrlB
  • CtrlB Flow
    • 🖐️Introducing CtrlB Flow
    • 🏁Getting started
    • Getting data in CtrlB Flow
    • Explore your data
    • Control your data
  • CtrlB Live Debug
    • 🖐️Introducing CtrlB Live Debug
      • What can you do with CtrlB?
      • How CtrlB works?
    • 🏁Getting started in 2 minutes
    • Plugins
      • Visual Studio Code
      • PyCharm, IntelliJ & WebStorm
    • Agents
      • Python
        • Installation
        • Configuration
        • System Requirements
        • Data Redaction
        • Troubleshoot / Release Notes
          • Version 1.0
      • NodeJs
        • Installation
        • Configuration
        • System Requirements
        • Data Redaction
        • Troubleshoot / Release Notes
          • Version 1.0
      • Java
        • Installation
        • Run with IntelliJ
        • Configuration
        • System Requirements
        • Data Redaction
        • Troubleshoot / Release Notes
      • Go
        • Installation
        • Run with Goland
        • Run with Docker
        • Configuration
        • System Requirements
        • Data Redaction
    • 🎛️Conditional Expressions
    • 🏭Deploy within your firewall
    • 🍉Benchmarking impact on your system
      • Java
      • Go
    • Benchmarking impact on your system:
Powered by GitBook
On this page
  1. CtrlB Live Debug

Getting started in 2 minutes

Get up and running with CtrlB's live debugger!

PreviousHow CtrlB works?NextPlugins

Last updated 1 year ago

  1. 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.

  2. Search for CtrlB , and you'll find the extension. Click on Install.

  3. If this is your first time, hit the sign-up button and create an account.

  4. Use these credentials to sign in. You can see your API key by clicking user profile > Profile on the top right.

  5. 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 .

  1. In the Applications pane, select the application you'd like to add tracepoints on.

  1. 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.

  1. This would take you to the ProbeForm. Click PutTracePoint here.

  1. Trace point gets added.

  1. You can see data captured in the pane whenever this line is triggered again. Click on it to view variable data and stack details.

🏁
here
Getting Started with CtrlB
Import language specific agent
Select the application in Applications pane
I right clicked on line 37 and see the option CtrlB: Add Trace Point
Click Put Trace Point
Trace point gets added
Snapshot Hits pane