
Getting Started Guide
How to Use Lightrun
A practical guide to get you up and running with Lightrun. Written by Delv Editorial, Delv Team.
Getting started with Lightrun
In this guide, you'll learn how to set up Lightrun and use its GenAI debugger to troubleshoot issues in live production applications. After completing these steps, you'll be able to insert logs, metrics, and traces directly from your IDE without redeploying your application.Step 1: Sign up and set up
- Go to the Lightrun website.
- Click on the "Get Started" button in the top right corner.
- Choose the "Sign Up" option and fill in your details, or use your GitHub or Google account for quick registration.
- Once signed up, you will be directed to the dashboard where you can create your first project.
Step 2: Your first debugging session
- In your Lightrun dashboard, click on "Create Project."
- Select your programming language and framework (e.g., Java, Node.js).
- Follow the on-screen instructions to install the Lightrun agent in your application.
- Open your IDE and navigate to the file where you want to add logs or metrics.
- Use the Lightrun plugin to add a log, metric, or trace by selecting the relevant option from the Lightrun menu.
- Enter the details for your log or metric and click "Insert."
- Trigger the relevant part of your application to see the logs appear in real time.
Step 3: Get better results
To enhance your debugging experience:- Use the "GenAI debugger" feature by clicking on the "Debug" option in the Lightrun menu.
- Input specific queries or conditions to filter logs and metrics, making it easier to pinpoint issues.
- Take advantage of real-time collaboration by inviting team members to view the session by clicking on "Invite" in the top right corner of the debug view.