revel.github.io icon indicating copy to clipboard operation
revel.github.io copied to clipboard

Dbugging in intellij

Open notzippy opened this issue 7 years ago • 8 comments

Add to docs from revel/revel#1072

Just for other people with the same question.

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 intellij Shutdown the running server Create project in intellij from existing sources Create run configuration and in "Program arguments" add "-importPath github.com\myaccount\my-app -srcPath \src -runMode dev" Point "File" to \src\github.com\myaccount\my-app\app\tmp\main.go In "before launch" add "Run external tool". There: Program: \bin\revel.exe Paramerets: build github.com/myaccount/my-app This works for me on Windows 8

notzippy avatar Jul 22 '17 15:07 notzippy