Last active
August 29, 2015 14:11
-
-
Save springaki/51b39e890f22d5a7eca3 to your computer and use it in GitHub Desktop.
RubyMineでPowを使いながらDebugする方法 ref: http://qiita.com/spring_aki/items/8319af8ec12b444f167b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export RUBY_DEBUG_PORT=1234 | |
export POW_WORKERS=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ powder restart | |
$ powder open |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'ruby-debug-ide' | |
gem 'debase' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ENV['RUBY_DEBUG_PORT'] | |
require 'ruby-debug-ide' | |
Debugger.start_server nil, ENV['RUBY_DEBUG_PORT'].to_i | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment