IDE/IntelliJ

[Intelli J] spring boot run profile 설정하기 (local or dev or prod)

antoroong 2025. 3. 25. 19:46

컨트롤 + 쉬프트 + A

플러스버튼 → spring boot 선택

 

 

active profiles에 값을 넣거나

또는 첫번째 밑줄부분에 -Dspring.profiles.active=dev를 넣거나

하면 된다