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

Debugging nodejs projects seems to be impossible #14190

Closed
2 of 9 tasks
amisevsk opened this issue Aug 9, 2019 · 5 comments
Closed
2 of 9 tasks

Debugging nodejs projects seems to be impossible #14190

amisevsk opened this issue Aug 9, 2019 · 5 comments
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.

Comments

@amisevsk
Copy link
Contributor

amisevsk commented Aug 9, 2019

Describe the bug

Debugging the sample projects included in the NodeJS Angular, Mongo, and React devfiles seems to not be possible currently.

I was able to work around these issues for the simple Node Express devfile but cannot figure it out for the others.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

Start e.g. the NodeJS Angular devfile in Che and attempt to debug.

Expected behavior

It is clear how to debug the application, or clear that debugging is not possible for some reason.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)
@amisevsk amisevsk added kind/bug Outline of a bug - must adhere to the bug report template. area/editor/theia Issues related to the che-theia IDE of Che status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Aug 9, 2019
@benoitf
Copy link
Contributor

benoitf commented Aug 12, 2019

@amisevsk is area is che-theia or che-languages ?

I mean, the issue that you're facing is how to see breakpoints menu, etc or that you're not able to use the typescript debugger ?

@benoitf benoitf added status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Aug 12, 2019
@amisevsk
Copy link
Contributor Author

@benoitf The issue is that connecting a debugger to the application is impossible; none of the options in Theia work. As far as I understand, the nodejs debug configurations come built-in to Theia, but I'm not sure what the best area is for this, it's likely a combination of a devfile issue and a debugger issue.

As a user, I could not get debugging to work in those three devfiles.

@tsmaeder
Copy link
Contributor

@amisevsk trying to find out what you're doing exatly, here: are you using a launching configuration or are you running the application in the dev or runtime container and trying to do remote debugging?

@amisevsk
Copy link
Contributor Author

@tsmaeder It has been awhile and I know the Theia side has reworked the nodejs debugging options, but I tried every debug config autocompletion and could not get it to work. I haven't tested in a month though, so it may be resolved -- I'll double check when I have a moment.

@che-bot
Copy link
Contributor

che-bot commented Mar 11, 2020

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 11, 2020
@che-bot che-bot closed this as completed Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.
Projects
None yet
Development

No branches or pull requests

4 participants