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
These instructions assume that you have:
- installed the VSCode Lightrun plugin in your IDE.
To authenticate Lightrun plugin¶
-
From the VSCode activity bar, click the Lightrun icon to expand the plugin sidebar.
-
Click Sign in.
A browser window opens with the Lightrun login page.
-
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. -
Return to VSCode.
The Lightrun plugin indicates that the service is 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.