Everytime you want to work from your IDE with Lightrun, you need to first authenticate your local environment with your Lightrun account.
- These instructions assume you have already installed the plugin when setting up.
- A user with a Lightrun manager role downloads and adds the agent to the live application on its server.
- You install the plugin in your local IntelliJ environment
To authenticate Lightrun from IntelliJ¶
From IntelliJ, click the Lightrun tab to expand the sidebar.
Click the red banner from the top of the plugin display.
The browser opens to the Lightrun login page:
The display might appear differently, with the Login and Register options appearing as buttons in the center of the Lightrun pane, similarly to the following: In this case, click the relevant option to authenticate.
Log in to Lightrun with your user credentials.
Once you're logged in, the Lightrun page reloads with a confirmation message. Notice that there's a timeout configured; you might need to re-login if the timeout elapses.
Go back to IntelliJ.
The Lightrun banner in IntelliJ now appears green:
If you authenticate Lightrun successfully, but relevant options are hidden, this means no agents are connected on the application server.
The contextual Lightrun menu in IntelliJ displays relevant options:
And the Lightrun quick menu appears on your tool bar:
Watch this video to get up and running: