Skip to content

Commit 99b8c37

Browse files
committed
feat: update
1 parent e1ab7c0 commit 99b8c37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bundled/scripts/noConfigScripts/javadebug.fish

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# Export the endpoint file path for JDWP port communication
66
set -x JDWP_ADAPTER_ENDPOINTS $VSCODE_JDWP_ADAPTER_ENDPOINTS
77

8+
# Set JDWP options only for this javadebug invocation
9+
# This overrides the global JAVA_TOOL_OPTIONS to avoid affecting other Java processes
10+
set -x JAVA_TOOL_OPTIONS "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=0"
11+
812
# Get the directory of this script
913
set script_dir (dirname (status -f))
1014

0 commit comments

Comments
 (0)