How to run standalone_http in debugger

I am trying to debug some of my custom Scrips.

When I run standalone_httpd directly, and piping an email message into
rt-mailgate everything is OK.

But if I run standalone_httpd in the Perl debugger (perl -d
standalone_httpd), and pressing ‘c’(continue) in the debugger, my
request just seems to hang until I press in the debugger, and
I get an error message about ‘Bad request’ in the debugger. The
response from the rt-mailgate is ‘500 Server closed connection without
sending any data back’.

How can I run RT with the perl debugger?

  • Vegard -