想试试vscode做java spring-boot开发,网上有很多配置都千遍一律,解决不了启动springboot应用指定启动参数的问题。
最后找到实现lanch.json配置:
{
"type": "java",
"name": "Debug (Launch)-Application<xxx>",
"request": "launch",
"mainClass": "com.yxt.xxx.Application",
"args": "--spring.profiles.active=native",
"projectName": "xxx"
},