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