LoginSignup
0
1

More than 5 years have passed since last update.

Goland で revel アプリケーション のデバッグ方法( debug run config)

Posted at

Goland で revel アプリケーション のデバッグ方法( debug run config)

はじめに

公式のドキュメント見て、それらしく入力してもデバッグできるようにはならず結構ハマったので念の為、残しておく

バージョン等

  • Goland 2018.3.3

含まれるもの

  • Goland の起動設定( Run Configuration )

起動設定

公式のドキュメント

公式のドキュメントは https://revel.github.io/manual/debug.html#intellij_debugging_(goland)

動作確認できた設定方法

アプリケーション名: revel-debug

  1. Go Build を選択
    スクリーンショット 2019-02-04 14.27.29.png

  2. Run Kind: File

  3. Go tool arguments: -i

  4. Program arguments: -importPath github.com/xxxx/revel-debug github.com/revel/revel -srcPath /src -runMode dev
    goland debug.png

  5. External tool

    1. Program: bin/revel
    2. Arguments: build github.com/xxxx/revel-debug github.com/xxxx/revel-debug goland build.png

最後に

最近になって既存のGoアプリケーションを触ることになったのでよくわからないことが多いので似たような方の参考になれば幸いです

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1