modificado para crear tasks que recompilen todo

This commit is contained in:
Jaime Jiménez
2025-06-13 12:59:34 +02:00
parent b7ef46b8cb
commit 06889201e5
12 changed files with 118 additions and 6 deletions

17
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
// 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": "Depurar Spring Boot en Docker",
"request": "attach",
"hostName": "localhost",
"port": 5005,
"preLaunchTask": "Run Spring Boot in Docker with Debug",
"postDebugTask": "Stop Spring Boot in Docker",
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"java.compile.nullAnalysis.mode": "automatic"
}

29
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Spring Boot in Docker with Debug",
"type": "process",
"command": "docker",
"args": [
"exec",
"-it",
"springboot-dev",
"./mvnw",
"spring-boot:run",
"-Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Stop Spring Boot in Docker",
"type": "shell",
"command": "docker exec springboot-dev pkill -f spring-boot:run",
"problemMatcher": []
}
]
}