Skip to content

Authenticate Lightrun

Authenticating the Lightrun plugin

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

Prerequisites

The following procedure requires that you have created a Lightrun Account and installed the VSCode Lightrun plugin.

To authenticate Lightrun plugin
  1. From the VSCode 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 VSCode.
    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.

The next steps are to:

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

Last update: May 18, 2022