custom arguments for 'build' and 'run'
Answered
Hi,
I'm trying to run a project that requires custom parameters when building (something like -buildmode=plugin some_other_file.go) and other set of parameters when running it (input files to process). Is this possible using the run/debug configuration? I've tried some combinations using the Go tools arguments and Program arguments but haven't had any luck yet. Any help would be appreciated it.
Thanks
Please sign in to leave a comment.
Hi,
It is possible to pass custom arguments using run configurations.
Please see Run/debug configurations section for more details: https://www.jetbrains.com/help/go/run-debug-configuration.html
We can consider your particular case and investigate what arguments you want to pass and how to do it properly.