digma-ai / digma-intellij-plugin

Digma JetBrains plugin
MIT License
32 stars 7 forks source link

local engine can't be started after changing to centralized #2580

Open shalom938 opened 2 weeks ago

shalom938 commented 2 weeks ago

start the plugin and install local engine. change to centralized. open local engine and stop it. try to start it again, it will not start because the plugin checks if local engine is installed, its true, and if there is connection, which is true too because the plugin is connected to centralized. so will not let start the local engine. in org.digma.intellij.plugin.docker.LocalInstallationFacade#startEngine isLocalEngineRunning is true. a way to fix it is that isLocalEngineRunning will check if the docker containers are running.

a workaround is to remove and install again

doppleware commented 2 weeks ago

Expected behavior: It should advise you that starting the local engine will disconnect you from the central Digma install. If you confirm it will change the settings to the default and start the local engine