How can I debug Perl Mojolicious

Hello:

Can I use the debugger with Mojolicious?

I think it must be done with remote debugging. As I would like to develop local, with ActivePerl, I should use localhost.

I have seen some tech notes using Catalyst, but I do not know how to start the app. The developing server of Mojolicious (Morbo) can’t be started with -d for debug, as it can be done with Catalyst.

Is it possible?

Regards: Nacho B

Sure you can. perl -d /path/to/morbo /path/to/app.

Install the Komodo remote debugging following ActiveState’s directions and put a breakpoint in one of your routes. Start Morbo as above, and then hit the URL for that route. Boom! Interactive debugging.