RubyMineでsinatra debug

sinatraを「bundle exec rackup config.ru」で起動していた場合のメモ

1. RubyMineを起動したら真ん中の「Open」をクリックしてsinatraのソースが入っているフォルダを選択する

2.ツールバーの[Run]>[Edit Configurations]をクリック

3.設定ダイアログが表示されるので左上の「+」をクリックして[Rack]を選択
4.右下のApplyを押してOKを押す。Applyは設定変更していなければおせない。
5. ソースの停止したいところでクリックする

6.ツールバーの「Run」>[Debug Rack]を選択
7.デバック箇所を動かす。今回はブラウザでhttp://localhost:9292/hello/aaaとうつと、
そこで処理が止まるので変数などを調べる







コメント

  1. Also, their SSL encryption supplies 온라인 카지노 players with a assure that their banking data is secure. There’s no better way to enhance your bankroll than using a bonus at an internet on line casino. These come as welcome bonuses, reload promos, or maybe even free spins. We have the main points} on the entire forms of bonuses you can see at playing websites.

    返信削除

コメントを投稿