Skip to content

Authenticate Lightrun

Authenticating the Lightrun plugin in the VS Code IDE

On each occasion you start to work with Lightrun from the VS Code plugin, you must first authenticate it against your Lightrun account.

Prerequisites

These instructions assume that you have:

To authenticate Lightrun plugin
  1. From the VS Code activity bar, click the Lightrun icon Lightrun icon to expand the plugin sidebar.

    VSCode sign-in

  2. Click Sign in.
    A browser window opens with the Lightrun login page.
    Login dialog

  3. Log in to Lightrun with your user credentials.
    After you are logged in, the Lightrun page reloads with a confirmation message. Notice that there is a timeout configured; you might need to re-login if the timeout elapses.

  4. Return to VS Code.
    The Lightrun plugin indicates that the service is connected.

    Service connected

Note

If the Lightrun plugin is authenticated successfully, but the No Lightrun agents available warning is displayed, this means no agents currently are attached and running with your application.

Next steps

  1. Run a Lightrun agent with your app, depending on your runtime environment (Java | Python | Node.js| .NET).
  2. After you run your app with the Lightrun agent attached, you can begin to insert logs, snapshots, and metrics.

Last update: December 18, 2024