The IntelliJ Run/Debug configuration UI used to have a field for "Working dir". However, the UI seems to have changed in a recent version, and I can't find that field any more.
I've tried adding --project-dir ../path to the "Tasks and arguments" field, but that doesn't do anything.
How do I set the working dir for Gradle tasks?
