Skip to content

Commit 77af28d

Browse files
authored
Merge pull request #178 from nanotaboada/feature/serverreadyaction
chore: update debug launch config to open Swagger UI
2 parents 85ad620 + 9cf7d96 commit 77af28d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"version": "0.2.0",
23
"configurations": [
34
{
45
"type": "java",
@@ -8,7 +9,12 @@
89
"console": "internalConsole",
910
"mainClass": "ar.com.nanotaboada.java.samples.spring.boot.Application",
1011
"projectName": "java.samples.spring.boot",
11-
"args": "--spring.profiles.active=local"
12+
"args": "--spring.profiles.active=local",
13+
"serverReadyAction": {
14+
"action": "openExternally",
15+
"pattern": "Tomcat started on port 9000",
16+
"uriFormat": "http://localhost:9000/swagger/index.html"
17+
}
1218
}
1319
]
1420
}

0 commit comments

Comments
 (0)