How can we configure IntelliJ to debug revel apps?
In Run/Debug Configurations
, it's not at all obvious what to enter for File
, Go tool arguments
, and and Program arguments
Create your project, for this example i will be using canonical revel new github.com/myaccount/my-app
revel run github.com/myaccount/my-app
to generate tmp/main.go
- this file is needed by intellijRun configuration
. Select Go Build
-importPath github.com\myaccount\my-app
<your gopath>/bin/revel
(Windows - revel.exe) Paramerets: build github.com/myaccount/my-app
, Working dir <your gopath>/bin
Screenshot Example Config
Now You can Run and Debug in panel IntelliJ