MartinBalin commented on code in PR #24:
URL: https://github.com/apache/netbeans-vscode/pull/24#discussion_r4186766965
##########
vscode/src/extension.ts:
##########
@@ -1293,12 +1301,13 @@ function doActivateWithJDK(promise:
Promise<NbLanguageClient>, specifiedJDK: str
}
let info = {
- clusters : findClusters(context.extensionPath),
+ clusters : findClusters(context.extensionPath, log),
+ debug: env['netbeans_debug'] ?
'-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000' : null,
Review Comment:
**Custom debug port and suspension settings are ignored.**
`netbeans_debug` is checked only for truthiness, then replaced with
hardcoded `suspend=n,address=8000`. The documented `suspend=y,address=7777`
example therefore still starts on port 8000 without suspending. This leaves the
configurable-port request in the [PR
discussion](https://github.com/apache/netbeans-vscode/pull/24#issuecomment-3859918607)
unresolved. Pass the actual environment value into `info.debug`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists