sduggal has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!

I have a Perl Mojolicious framework application/web app on Windows. It is using the development server for now. Does anyone have experience on debugging in such an environment using an IDE? I want to use breakpoints and step through the code. Please guide me on the IDE in case anyone has been in the same boat.

Replies are listed 'Best First'.
Re: Debugging Perl Mojolicious application
by LanX (Saint) on Apr 24, 2017 at 12:37 UTC
    Never done it, but why don't you start the Mojo server from within your IDE while setting manual break points inside your application?

    $DB:Single = 1

    (IIRC)

    FWIW the classical approach for remote debugging is to configure a third party server to start Perl applications with -d and a specific communication port.

    The IDE/debug tool has to be set up to communicate over this port.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Re: Debugging Perl Mojolicious application
by Anonymous Monk on Apr 24, 2017 at 08:23 UTC
Re: Debugging Perl Mojolicious application
by karthiknix (Sexton) on Apr 25, 2017 at 10:42 UTC

    I do not work with Perl Mojolicious framework. But I work with Perl Catalyst framework for which I use Notepad++ IDE. Which has various plugin for our need. For debugging I use inbuilt functions for creating breakpoints.