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

'Run' / 'Debug' codelens does not work #16856

Closed
ibuziuk opened this issue May 6, 2020 · 3 comments
Closed

'Run' / 'Debug' codelens does not work #16856

ibuziuk opened this issue May 6, 2020 · 3 comments
Assignees
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. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@ibuziuk
Copy link
Member

ibuziuk commented May 6, 2020

Is your task related to a problem? Please describe.

Steps to reproduce:

  • Create a workspace from spring boot devile
  • Open PetClinicApplication
  • Press Run|Debug codelense
  • ERROR: nothing happens, Debug is failing with

image

Reproduced on Hosted Che 7.12.1

Workaround:

  1. Add debug task
{
            "type": "che",
            "label": "Debug application locally",
            "command": "mvn spring-boot:run -Dspring-boot.run.jvmArguments='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005'",
            "target": {
                "workingDir": "/${CHE_PROJECTS_ROOT}/summit-lab-spring-music",
                "component": "spring-music"
            }
        }
  1. Run the task
  2. menu Debug -> Start Debugging

debug-spring-boot

@ibuziuk ibuziuk added the kind/task Internal things, technical debt, and to-do tasks to be performed. label May 6, 2020
@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 May 6, 2020
@ibuziuk ibuziuk 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 and removed kind/task Internal things, technical debt, and to-do tasks to be performed. labels May 6, 2020
@ibuziuk ibuziuk changed the title Run / Debug codelense does not work 'Run' / 'Debug' codelens does not work May 6, 2020
@l0rd l0rd added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels May 6, 2020
@l0rd
Copy link
Contributor

l0rd commented May 6, 2020

I am setting a P1 assuming that this doesn't work for any workspace, not just the given example. Otherwise it should be a P2.

@ibuziuk
Copy link
Member Author

ibuziuk commented May 7, 2020

@l0rd looks like broken for every workspace - was able repro against simple hello world java maven devfile

@azatsarynnyy azatsarynnyy mentioned this issue May 13, 2020
19 tasks
@azatsarynnyy azatsarynnyy added this to the 7.14 milestone May 14, 2020
@vzhukovs vzhukovs self-assigned this May 14, 2020
@vzhukovs vzhukovs added the status/in-progress This issue has been taken by an engineer and is under active development. label May 14, 2020
@azatsarynnyy azatsarynnyy removed the status/in-progress This issue has been taken by an engineer and is under active development. label May 20, 2020
@azatsarynnyy
Copy link
Member

should be fixed by eclipse-che/che-theia#750

@benoitf benoitf added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label May 29, 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. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants