question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Quarkus] Can't debug Quarkus application

See original GitHub issue

While testing vscode-quarkus extension I detected a problem: if execute Quarkus: Debug Current Quarkus Project command, I see a message: ERROR There is no debug configuration for undefined
in the browser console and the debugger doesn’t execute, but the configuration was generated in launch.json file:

   {
      "preLaunchTask": "quarkus:dev",
      "type": "java",
      "request": "attach",
      "hostName": "localhost",
      "name": "Debug Quarkus application",
      "port": 5005
   }

If try to run this configuration from Debug view, I see a message that Task 'quarkus:dev' terminated with exit code 127.

screenshot-che-che 192 168 99 104 nip io-2019 11 06-11_04_46 Probably this problem can be related to add support integratedTerminal for debugging https://github.com/eclipse-theia/theia/issues/6103

Che remote plugin with vscode-quarkus extension

apiVersion: v2
publisher: redhat
name: quarkus
version: 1.1.1
type: VS Code extension
displayName: Quarkus Tools
title: Quarkus Tools by Red Hat
description: This plug-in provides support for Quarkus development via a Quarkus language server and a Quarkus jdt.ls extension.
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
repository: https://github.com/redhat-developer/vscode-quarkus
category: Language
firstPublicationDate: "2019-11-05"
spec:
  containers:
    - image: "docker.io/eclipse/che-remote-plugin-runner-java11:next"
      name: vscode-quarkus
      memoryLimit: "1500Mi"
      volumes:
      - mountPath: "/home/theia/.m2"
        name: m2
  extensions:
    - https://github.com/microsoft/vscode-java-debug/releases/download/0.20.0/vscode-java-debug-0.20.0.vsix
    - https://download.jboss.org/jbosstools/static/jdt.ls/stable/java-0.50.0-1825.vsix
    - https://download.jboss.org/jbosstools/vscode/snapshots/vscode-quarkus/vscode-quarkus-1.1.1-158.vsix

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:30 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
karstengreschcommented, Jul 5, 2021

Any news on this? The problem still persists, it seems.

1reaction
svorcommented, Nov 19, 2019

@amisevsk quarkus:dev is task’s name, the command is mvn quarkus:dev. Into debug configuration we have to put the name.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I debug my Quarkus application that is running in ...
When launching a Quarkus app simply using mvn quarkus:dev , the running application is configured to open port 5005 for remote debugging.
Read more >
Building applications with Maven - Quarkus
Debugging. In development mode, Quarkus starts by default with debug mode enabled, listening to port 5005 without suspending the JVM.
Read more >
How to debug a Quarkus application with IntelliJ IDEA
How to debug a Quarkus application with IntelliJ IDEA | Quarkus Tutorial | QUARKUS | JavaGitHub ... Your browser can't play this video....
Read more >
Chapter 12. Debugging your Quarkus project
To start your Quarkus application in debug mode with JVM, enter the following command: Copy. Copied! ./mvnw compile quarkus:dev -Ddebug · Attach a...
Read more >
Quarkus | IntelliJ IDEA Documentation - JetBrains
Debug the Quarkus application · Set a breakpoint in your code. For example, you can set it on the line with the return...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found