Skip to content

Cannot set liberty debug port #1901

@sdehors-ibm

Description

@sdehors-ibm

I'm trying to set the liberty debug port as explained here: https://github.com/OpenLiberty/ci.maven/blob/main/docs/debug.md
but when the liberty server starts, it adds automatically 2 lines at the end of the server.env which take precedence over the line I've added.

WLP_DEBUG_SUSPEND=n
WLP_DEBUG_ADDRESS=54690

This behaviour seems consistant with the code in DevUtil.java but not with the documentation. It seems it's not possible to set the debug port which is a bug according to the doc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions