How to specify active profile on Spring boot project ?

Answered

I have a Spring boot project and I want to start it with a specific profile (application-dev.properties).

I dont know how to do this in run.json file.

Can you help me ? Thanks.

0
2 comments

Try activeProfiles key in run.json.

There could be an issue though with honouring the profile in debugging: FL-14683 Debugging Spring Boot ignores activeProfiles set

0

Thanks Andrey, it's works !
Can I know where did you find this information ?

0

Please sign in to leave a comment.