-
Hello, using odo (from vscode's openshift tooling) I sporadically/very often get this error: Starting odo dev --debug
Press any key to close this terminal Environment is running on Windows 10 I am not able to finde the cause of the problem. I'd appreciate some help. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @jochenr, From the error message, it looks like there is already an "odo dev" session running on your system for this component. Can you please check if there is any running process with the PID reported by A workaround can also be to restart the operating system. |
Beta Was this translation helpful? Give feedback.
Thanks for the detailed information!
When starting,
odo dev
stores its own PID into an internal.odo/devstate*
file (in the project working dir). Then if you try to runodo dev
again against a same platform, it uses this file and checks whether there is already a running process with that PID. This file should be deleted whenodo dev
is stopped.After discussing this with the rest of the team, the problem we suspect here is that the
odo dev
session might not be properly stopped by the VSCode Plugin on Windows, and the previous PID recorded was assigned to a different process by the operating system (but we'll nee…