Title: Debug session never starts: TransportTimeoutException in launch and attach modes (TCP connection established) · Issue #1733 · microsoft/vscode-java-debug · GitHub
Open Graph Title: Debug session never starts: TransportTimeoutException in launch and attach modes (TCP connection established) · Issue #1733 · microsoft/vscode-java-debug
X Title: Debug session never starts: TransportTimeoutException in launch and attach modes (TCP connection established) · Issue #1733 · microsoft/vscode-java-debug
Description: Title: Debug session never starts: TransportTimeoutException in both launch and attach modes (TCP connection established) vscode-TransportTimeoutException_issue.txt Environment OS: Windows 11 x64 VS Code: [version from Help → About] Lang...
Open Graph Description: Title: Debug session never starts: TransportTimeoutException in both launch and attach modes (TCP connection established) vscode-TransportTimeoutException_issue.txt Environment OS: Windows 11 x64 V...
X Description: Title: Debug session never starts: TransportTimeoutException in both launch and attach modes (TCP connection established) vscode-TransportTimeoutException_issue.txt Environment OS: Windows 11 x64 V...
Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/1733
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug session never starts: TransportTimeoutException in launch and attach modes (TCP connection established)","articleBody":"**Title:** Debug session never starts: TransportTimeoutException in both launch and attach modes (TCP connection established)\n\n[vscode-TransportTimeoutException_issue.txt](https://github.com/user-attachments/files/35030661/vscode-TransportTimeoutException_issue.txt)\n\n**Environment**\n- OS: Windows 11 x64\n- VS Code: [version from Help → About]\n- Language Support for Java (redhat.java): 1.58.0 (also seen on pre-release 1.59.2026111308)\n- Debugger for Java: [version]\n- Language server runtime: bundled JRE 25.0.4.1 (also 25.0.5 on the pre-release)\n- Debuggee JDKs: Temurin 8u482 and 17.0.20 (same result with both)\n- Debugger for Java: latest available as of 2026-11-18 (auto-updated; exact version not captured before uninstalling)\n\n**Problem**\nDebugging stopped working after an extension update; it previously worked on the same project and machine.\nRun works fine. Debug never hits breakpoints and fails with:\n- Launch: \"Failed to launch debuggee in terminal. Reason: com.sun.jdi.connect.TransportTimeoutException\"\n- Attach: \"Failed to attach to 127.0.0.1:5005 (attach timeout 30000, handshake timeout 0)\"\n\n**What I verified**\n- The debuggee starts with `-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:\u003cport>` and hangs before `main`.\n- During the hang, netstat shows the TCP connection is ESTABLISHED between the language server process (listening on 0.0.0.0/[::]) and the debuggee, so the socket connects but the JDWP handshake or VM init never completes.\n- Same result with `console: internalConsole` (launched via -Xrunjdwp).\n- Same result in a clean VS Code profile with freshly installed extensions.\n- Outside VS Code, jdb from JDK 17 (`-connect com.sun.jdi.SocketListen`) accepts the same debuggee connection immediately (\"VM Started\").\n- IntelliJ IDEA debugs the same project on the same machine without issues.\n- Ruled out: firewall, WSL (shut down), IPv6/localhost resolution, Winsock catalog (clean), environment variables (no JAVA_TOOL_OPTIONS etc.).\n- `java.jdt.ls.java.home` pointing to JDK 21 was not applied (language server still started on bundled JRE 25), so I couldn't test with a different runtime.\n\n**Project type**\nUnmanaged folder project (`java.project.sourcePaths` + `java.project.referencedLibraries`), Java 8 target.\n\n**Logs**\n[paste the relevant part of the language server log here]","author":{"url":"https://github.com/its-rajive","@type":"Person","name":"its-rajive"},"datePublished":"2026-11-18T13:24:50Z","url":"https://github.com/microsoft/vscode-java-debug/issues/1733"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9c76200b-4ee3-0960-ae97-68c177b9bfd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A48C:9120E:4E660:67A24:6B073120 |
| html-safe-nonce | 77ae107594c395c93f65417f1f8a080cd4deedd43052de3fb03171cd15f165ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDhDOjkxMjBFOjRFNjYwOjY3QTI0OjZCMDczMTIwIiwidmlzaXRvcl9pZCI6IjU1MjE5MzQ5MTQ3NTg4NDg4MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4cd8a3c79239e2c4a66d0434483befa5218d2ed75a4e4631884d1c11924a3493 |
| hovercard-subject-tag | issue:6468176326 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-java-debug/1733/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39709a853d0ee5a4c86617e6407d777a874ab44ed1c22d97227b698712664fca/microsoft/vscode-java-debug/issues/1733 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39709a853d0ee5a4c86617e6407d777a874ab44ed1c22d97227b698712664fca/microsoft/vscode-java-debug/issues/1733 |
| og:image:alt | Title: Debug session never starts: TransportTimeoutException in both launch and attach modes (TCP connection established) vscode-TransportTimeoutException_issue.txt Environment OS: Windows 11 x64 V... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | its-rajive |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-java-debug git https://github.com/microsoft/vscode-java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102584737 |
| octolytics-dimension-repository_nwo | microsoft/vscode-java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102584737 |
| octolytics-dimension-repository_network_root_nwo | microsoft/vscode-java-debug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 345c27626db08417fdfc84278a4415ae9a48d8f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width