Can I force a debug script to ask for parameters instead of "hard code" them?

已回答

I am debugging some Symfony commands I am working on and I would like to know if it's possible to force the IDE to ask for the parameters instead of hard code them. Look at the following image:

That way the script won't run because is missing the parameters. Each time I need to test a different quote I need to come to this window and manually edit the value which is a pain. Is there any way to make this debug setup to ask for parameters?

0

I guess the best you can do here is:

1) just have separate Run/Debug Configuration for each case...

2) or tick "Show this page" option and it will be shown on each run (so you can adjust your settings as needed)

2

请先登录再写评论。