Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Super simple rubymine sinatra pow debugging example
Branch: master

Debugging example

This example project is a super-simple example of how I used

to graphically debug a previous employer's simple web projects

  • Pow installed
  • Customized gems installed (see Gemfile for details)

Add example preamble to of a pow-linked app

touch tmp/debug.txt

Load target project in Rubymine and construct a "Configuration" with your project name using the "Ruby remote debug" defaults

Ensure an appropriate Rubymine breakpoint is set somewhere in your sinatra app

touch tmp/restart.txt

Navigate a browser instance to your pow app's root (should wait - waiting for RubyMine's debugger client to connect)

In Rubymine press "Debug" for the Rubymine "Configuration" you constructed above

Rubymine should then halt on the pow request as required.

Note: This example assumes the POW_WORKERS variable is set to 1 (one). If multiple workers are active you may get errors that ruby-debug-ide could not attach to a port already in use.

Pow-worker / ruby-debug-ide / Rubymine remote debug client port mappings are therefore left as an exercise to the reader. So too, pow timeout parameters.

Lachlan Pitts (parameme)
Something went wrong with that request. Please try again.