Open
Description
i'm trying to remote debug my application, which is running on a tomcat.
Environment
- Operating System: mac OS 10.14.4
- JDK version: 1.8.0_131
- Visual Studio Code version: 1.34.0
- Java extension version: 0.7.1
- Java Debugger extension version: 0.18.0
Steps To Reproduce
my configuration:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach) - Remote",
"request": "attach",
"hostName": "localhost",
"port": 8090
},
]
}
[attach a sample project reproducing the error]
attach logs
Current Result
i'm getting an error message in vscode: Timeout occured while waiting for packet 106
Expected Result
debugger attaches to the remote tomcat just fine
Additional Informations
the same configuration works with intelliJ idea, so it should work in vscode.
idea connects fine with host: localhost, port: 8090
idea shows these params: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8090
do i have to add them somewhere for vscode?