To keep the session active, you need to clear out any temporary or residual data that
might be causing problems, and then refresh the system to ensure that it is in an updated
state.
Procedure
-
Enter CMD + SHIFT + P to open the Visual Studio Code command
palette.
- In the command line, enter
Developer: Reload window.
- In the command line, enter
API Agent: Logout.
Note: This command removes your login session but you need to do the authentication process again.
However, the login information (pOrg, login URL, and more) is still cached
- To remove all cached login information after logout, in the command line, enter
API Agent: Clear session from workspace state and reload.
Note: When a plug-in is deleted or deactivated in Visual Studio Code, the cached login information
persists. This means that when you again download the plug-in, the URL field
is populated with your last used URL.