revel.github.io
revel.github.io copied to clipboard
Dbugging in intellij
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