You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user starts Python debugger it send a runInTerminal request which run a command in Theia container [1]. In case of running Python plugin in a side car it leads to an error, because python isn't installed in Theia container.
OS and version:
Minikube
abazko/che-theia:nightly (latest che-theia image without python extension)
abazko/che-remote-plugin-python-3.7.2:nightly (image for remote container)
The "container awareness" of terminal has been added to Plugin API mechanism (all the code run in start()method is adding the sidecar in which it is running.
Here we have the issue because the client is not using "plugin API"
When registering debugConfiguration or debugProvider, we should add the CHE_MACHINE_NAME env as an attribute
and when client will initiate the creation of terminal, it will be able to use in Terminal attributes the attribute CHE_MACHINE_NAME (need to find the correct location for that)
then the terminal will be aware on which container to send the request
Description
Reproduction Steps
When user starts Python debugger it send a
runInTerminal
request which run a command in Theia container [1]. In case of running Python plugin in a side car it leads to an error, because python isn't installed in Theia container.OS and version:
abazko/che-theia:nightly
(latest che-theia image without python extension)abazko/che-remote-plugin-python-3.7.2:nightly
(image for remote container)Diagnostics:
Is needed for
#12771
[1] /~https://github.com/theia-ide/theia/blob/master/packages/debug/src/browser/debug-session.tsx#L369
[2] https://raw.githubusercontent.com/eclipse/che-plugin-registry/ab/python/plugins/ms-python.python/2019.2.5433/meta.yaml
The text was updated successfully, but these errors were encountered: