Passenger 3.0 and debugger
I have problems using passenger standalone with a debugger. If I try this:
passenger start --debugger
I get this error:
Your version of ruby-debug is too old. Please upgrade to the latest version.
My Ruby is: ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux]开发者_如何学Go, MBARI 0x6770, Ruby Enterprise Edition 2010.02
Ruby debug: ruby-debug (0.10.3) ruby-debug-base (0.10.3)
So, has anyone successfully used Passenger 3.0 with a debugger?
It isn't supposed to work, the flag was experimental but we forgot to remove it for 3.0.0, that's why it isn't documented. It'll be removed for 3.0.1.
You can run a debugger in Passenger by using rack-debug
It works by having a client connect to the Passenger process at the breakpoints you set. A bit more complicated than using Thing/Mongrel with a debugger. But pretty simple to setup.
精彩评论