che
che copied to clipboard
launch.json configuration not loaded properly after refreshing the page with IDE
Describe the bug
For a workspace with 2 projects it is not picking the existing launch configuration if launch.json is created in the second workspace.
Che version
7.50
Steps to reproduce
- Create a workspace with two projects.
- Create a file to be run in the second project.
- Open the file and select
Run -> Start Without Debugging.
- It asks for the environment and debug configuration and creates
.theia/launch.jsonin the second project.
- The file can now be run successfully with
Run -> Start Without Debuggingwithout any prompts. - Refresh the page, close
Getting Startedtab so the same file is focused. Note, thatlaunch.jsonis present.
- Try
Run -> Start Without Debuggingagain. Instead of executing the file it opens the existinglaunch.jsonand expects for more launch configurations to be added.
Expected behavior
On the step 7 it is expected to use the existing configuration and run without any additional prompts.
Runtime
other (please specify in additional context)
Screenshots
No response
Installation method
other (please specify in additional context)
Environment
Linux
Eclipse Che Logs
No response
Additional context
microK8s chectl 7.50.0
Note: If I try to run all the same steps but for the first project in the workspace the problem doesn't reproduce.