-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug>Start with no debug configurations gives no feedback to the user #14006
Comments
Is there a debug configuration that is present in your workspace? and is the application started in debug mode? |
@slemeur There is not. TBH, I didn't know I have to add configuration first. I thought that clicking debug will run and debug current file. Take it as new user might see it. |
You are 100 in your approach, to take it as a new user. As for the debug configuration in the devfile, I don't think it is right now, but something we should be looking at. |
I think we should display a list of installed debuggers on the workspace and auto-generate a launch with the selected one and open the |
It is how VS Code behaves. |
Currently, clicking "Start Debugging" without a config doesn't do nothing, it just creates a default debug config in the background without notifying the user. Clicking "Start Debugging" a second time opens the debug panel and starts the just-created config. This is a pretty unintuitive flow, even though it sometimes works without issue. E.g. I just tested the golang devfile:
We should either merge steps the create + launch, or notify the user to create a debug config with a prefilled template. |
@amisevsk Thank you for investigating and renaming the issue. Makes much more sense now. |
Removed |
Following PR merged in theia upstream: eclipse-theia/theia#6870 |
Describe the bug
We have several devfiles (https://github.com/eclipse/che-devfile-registry/tree/master/devfiles/angular, https://github.com/eclipse/che-devfile-registry/tree/master/devfiles/dotnet) where there is no option to debug the project. When selecting Debug>Start debuggin (or F5) shortcut, nothing happens. As well as Debug>Start without debugging (Ctrl+F5).
Che version
Steps to reproduce
yarn install
taskmain.ts
fileExpected behavior
current file should start and debug should work
Runtime
minikube version
andkubectl version
)Screenshots
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: