Skip to content

Instantly share code, notes, and snippets.

@MatiasPujado
Last active February 12, 2023 16:23
Show Gist options
  • Save MatiasPujado/0c2ef9e25f735c5f8eb54754830856c6 to your computer and use it in GitHub Desktop.
Save MatiasPujado/0c2ef9e25f735c5f8eb54754830856c6 to your computer and use it in GitHub Desktop.
.vscode/launch.json Debugging Profile pointing to port 8081
{
"configurations": [
{
"type": "java",
"name": "Launch Current File",
"request": "launch",
"mainClass": "${file}",
"projectName": "mep",
"args": "--spring.profiles.active=local",
"vmArgs": "-Dserver.port=8081"
},
{
"type": "java",
"name": "MEP",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "ar.com.bbva.arq.mep.MepSpringBootSamLocalApplication",
"projectName": "mep",
"args": "--spring.profiles.active=local",
"vmArgs": "-Dserver.port=8081"
},
{
"type": "java",
"name": "Spring Boot-MepSpringBootSamLocalApplication<mep>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "ar.com.bbva.arq.mep.MepSpringBootSamLocalApplication",
"projectName": "mep",
"args": "--spring.profiles.active=local",
"envFile": "${workspaceFolder}/.env",
"vmArgs": "-Dserver.port=8081"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment