Skip to content

Debugging no-starter code projects fails #389

@fbricon

Description

@fbricon

When creating a no-starter code project (you still need to create 1 java file), if you execute the debug quarkus command, the process never completes.
This is mostly caused by the quarkus dev task's problemMatcher.background.endspattern value, that expects a "listening on" pattern.

taskEndsPattern: '^.*Quarkus .* started in .*\\. Listening on:*'

taskEndsPattern: '^.*Quarkus .* started in .*\\. Listening on:*'

When no http server is started, that last sentence is missing, it then just waits indefinitely.

Using ^.*Quarkus .* started in .*\\.* works.

Also, it doesn't seem to cause an issue but when a Gradle deamon is reused, this pattern is never found:

taskBeginsPattern: '^.*Starting a Gradle Daemon*',

I'd simply use Task : instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions