Dynamic Arguments for Run/Debug Configuration
已完成
I'd like to create a debug configuration that passes in the currently opened file as one of the arguments. I'm specifically trying to do this so that I can have one configuration that executes my test runner for the currently opened test.
I can hard code a file to perform tests on like so:
But I'd like to configure it to be dynamic, perhaps with something like this:
Does anybody know what I can do to accomplish this? I've hard trouble searching for a solution.
Thanks!
请先登录再写评论。
Hello, Jimmie,
sorry for the delay. We have a similar request for implementing variables in the command line parameters of Run configurations. If that what you'd like to have, please vote for it:
https://youtrack.jetbrains.com/issue/IDEA-74031
Okay thanks for the follow-up. I didn't find this issue in my searching, but I'll add my vote to it now!