When port conflicts occur, a user may choose to let the JVM bind to a random port by omitting the [address attribute] (https://docs.oracle.com/cd/E19501-01/819-3664/abgdm/index.html) or by passing address=0 as command-line arguments. This breaks the process picker because it matches on address, which is either missing or its value is 0:
|
const DEBUG_MODE_PATTERN = /(-agentlib|-Xrunjdwp):\S*(address=[^\s,]+)/i; |
A workaround is to let users manually enter the port: tlaplus/CommunityModules@fa56d3f
When port conflicts occur, a user may choose to let the JVM bind to a random port by omitting the [
addressattribute] (https://docs.oracle.com/cd/E19501-01/819-3664/abgdm/index.html) or by passingaddress=0as command-line arguments. This breaks the process picker because it matches onaddress, which is either missing or its value is0:vscode-java-debug/src/processPicker.ts
Line 9 in 32c57f8
A workaround is to let users manually enter the port: tlaplus/CommunityModules@fa56d3f