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

Failed to debug java spring sample with devworkspace engine #20536

Closed
sleshchenko opened this issue Sep 24, 2021 · 3 comments
Closed

Failed to debug java spring sample with devworkspace engine #20536

sleshchenko opened this issue Sep 24, 2021 · 3 comments
Assignees
Labels
area/plugins engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/current

Comments

@sleshchenko
Copy link
Member

Describe the bug

Failed to debug java spring sample with devworkspace engine.

Che version

next (development version)

Steps to reproduce

  1. Deploy Che with devworkspace engine.
  2. Create workspace with https://github.com/musienko-maxim/java-spring-petclinic/tree/devfilev2
  3. Build and try to debug app

Expected behavior

It works

Runtime

OpenShift, minikube

Screenshots

Screenshot_20210924_141005

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

2021-09-24 11:05:06.576 root ERROR Error starting the debug session Params: Error: It is not possible to provide debug adapter executable.
    at DebugExtImpl.<anonymous> (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:723:39)
    at step (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:33:23)
    at Object.next (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:14:53)
    at fulfilled (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:5:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)


### Additional context

_No response_
@sleshchenko sleshchenko added kind/bug Outline of a bug - must adhere to the bug report template. engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. area/plugins labels Sep 24, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 24, 2021
@svor svor added severity/P1 Has a major impact to usage or development of the system. sprint/next team/plugins and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 27, 2021
@svor svor mentioned this issue Sep 27, 2021
25 tasks
@svor svor self-assigned this Sep 29, 2021
@svor
Copy link
Contributor

svor commented Oct 5, 2021

To start java debug need to have vscode-java in standard mode, it should be activate automatically by this preference in plugin's meta.yaml:
java.server.launchMode: Standard
currently we have a problem with it: Preferences from the plugin are not applied for the workspace.

@svor svor added the status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. label Oct 5, 2021
@svor
Copy link
Contributor

svor commented Oct 5, 2021

blocked by #20559

@svor svor removed the status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. label Oct 11, 2021
@svor
Copy link
Contributor

svor commented Oct 11, 2021

Should work now

screenshot-nimbus-capture-2021 10 11-16_18_21

@svor svor closed this as completed Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/current
Projects
None yet
Development

No branches or pull requests

3 participants