How to set a default run\debug configuration
Answered
I have two different run\debug configurations and I want to set one of them as a default configuration.
When I click on the green "play" icon next to a test block it always tries to run it with the wrong configuration and from the workspace.xml file I see that the configurations it uses has a default=true attribute.
I tried to change the attribute value to false and set it to true on the configuration I wanted but that causes some weird issues in the configurations dropdown so I figured that might not be the answer to my problem :(
Any ideas?
Please sign in to leave a comment.
Hello,
When you click on green triangle, default configuration is created based on template. So, you may change template ("Edit Run Configurations - Templates") to use desired options for default configurations.
Thanks for the reply Yaroslav.
The problem is that the green triangle always creates the configuration based on the wrong template.
I mean, the file is a Javascript file and it tries to run the test using the REPL configuration instead of my Jest configuration :(