Trying to google something for Goland vs Golang is proving to be quite hard. Everything I am searching seems to come back for code or switching profiles. That is all already handled.
I had a project that was taking in json and processing the data. I was able to use the run and debug button to build and debug my go code with the default configuration.
That changed I am pulling data files from S3 and that requires authentication to aws which we use aws-vault
for.
The issue I am running into is in this configuration there is no additional settings. There is a checkbox to Run after build
but no way for me to say Run with aws-vault
Now I have to uncheck Run after build
and add the flag
-gcflags="-N -l" -o app
and then attach to that process with Shift + Option + fn + F5.
What I am looking for is being able to run aws-vault exec user -- go ...
within the IDE so I do not have a build step, a run step and then manually attaching to the process.