#1422·revel

revel and intellIJ

Author: lexxitoCreated Feb 19, 2019Updated Aug 2, 2022

Good day,

Recently I was trying to debug revel with IntelliJ and have followed this tutorial.

Following exact steps led to the error:

revel build [-r [run mode]] [import path] [target path]

Build the Revel web application named by the given import path. This allows it to be deployed and run on a machine that lacks a Go installation.

For example:

revel build github.com/revel/examples/chat /tmp/chat

I have slightly changed the build command and added -a after build which nevertheless didn't start the debug mode and only exited with code 1 and following calls:

GOROOT=/usr/lib/go-1.10 #gosetup GOPATH=/home/lexx/gocode #gosetup /usr/lib/go-1.10/bin/go build -i -o /tmp/___1revel /home/lexx/gocode/src/github.com/lexxito/mao-dashboard/app/tmp/main.go #gosetup /tmp/___1revel -runMode dev -importPath github.com\lexxito\mao-dashboard -srcPath \src #gosetup

Do you have any idea what am I doing wrong? the screenshots with my set-up are attached image image