You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
// Attach to a running Java application
"type": "java",
"name": "Attach to Java Application",
"request": "attach",
"hostName": "localhost",
"port": 5005 // Replace with the actual debug port of the Java application
},
{
// Launch a Java program
"type": "java",
"name": "Launch Java Program",
"request": "launch",
"mainClass": "com.example.Main", // Replace with your fully qualified main class name
"projectName": "YourProjectName" // Optional: Replace with your project's name if applicable
},
{
// Attach to a Kubernetes pod (Python example included for context)
"name": "Attach to Kubernetes Pod (Python)",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1", // Adjust to the port-forwarded Kubernetes service or pod IP
"port": 5678 // Replace with the debug port
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}", // Adjust to your local workspace root
"remoteRoot": "/app" // Adjust to the root path in the container
}
]
}
]
}
The text was updated successfully, but these errors were encountered:
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
// Attach to a running Java application
"type": "java",
"name": "Attach to Java Application",
"request": "attach",
"hostName": "localhost",
"port": 5005 // Replace with the actual debug port of the Java application
},
{
// Launch a Java program
"type": "java",
"name": "Launch Java Program",
"request": "launch",
"mainClass": "com.example.Main", // Replace with your fully qualified main class name
"projectName": "YourProjectName" // Optional: Replace with your project's name if applicable
},
{
// Attach to a Kubernetes pod (Python example included for context)
"name": "Attach to Kubernetes Pod (Python)",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1", // Adjust to the port-forwarded Kubernetes service or pod IP
"port": 5678 // Replace with the debug port
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}", // Adjust to your local workspace root
"remoteRoot": "/app" // Adjust to the root path in the container
}
]
}
]
}
The text was updated successfully, but these errors were encountered: