IDEA使用技巧

调试时,加载不同的配置启动多个实例

1.创建多个配置文件

2.设置Program arguments(启动参数) --spring.profiles.active=test

3.启动的时候key看到The following profiles are active: test

posted @ 2021-03-02 23:53  划破黑夜  阅读(78)  评论(0编辑  收藏  举报