Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode/launch.json #33

Open
kalihatreese opened this issue Dec 24, 2024 · 0 comments
Open

vscode/launch.json #33

kalihatreese opened this issue Dec 24, 2024 · 0 comments

Comments

@kalihatreese
Copy link
Owner

{
// 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
}
]
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant