Skip to content
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

Add debug command (to attach debugger, forward ports, etc.) #36

Closed
scottkurz opened this issue Aug 20, 2020 · 2 comments
Closed

Add debug command (to attach debugger, forward ports, etc.) #36

scottkurz opened this issue Aug 20, 2020 · 2 comments

Comments

@scottkurz
Copy link
Contributor

I'm a bit confused exactly how debug is supposed to work.. these links:

redhat-developer/odo#3187
redhat-developer/odo#3059

seem to suggest that you either push in debug mode or non-debug mode whereas going back a ways, this:
redhat-developer/odo#822
discussion suggests debug mode maybe should always be enabled.

As a stack user, the use case is simply to be able to connect an IDE debugger.

I'm not clear though if we need to force the user to restart the container in order to switch, or maybe if we'd only do that if we really wanted to optimize non-debug perf. startup time and run with -Ddebug=false.

(We may or may not include "debug configurations" for Eclipse, VSCode, etc. .. I'd probably break that out into a separate issue.)

More investigation needed, I started a Slack conversation here: https://openshiftdo.slack.com/archives/CR77F5GEQ/p1597930737002400

@scottkurz
Copy link
Contributor Author

Watch this one too in the devfile repo: odo-devfiles/registry#39

@scottkurz
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant