How do I run a EXE Go executable from within IntelliJ IDEA? -


i have go program i'm working on in intellij idea on windows machine. program's structure little unconventional (don't want go detail here besides point) because of first have compile program using following command:

go build -o cli.exe

and can run cli.exe directly in command prompt.

but how configure run configuration in intellij idea doesn't mind running windows executable ? because if try tell run exe file it's run configuration, gives me error "main file invalid"

how solve ?

make sure have file name (not folder name) in field file on run/debug configuration window (in intellij idea go menu run->edit configuration...->your_configuration). case.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -