Debug starman/nginx based applications

129 views
Skip to first unread message

Andre Uhlig

unread,
Aug 16, 2016, 4:46:57 PM8/16/16
to Camelcade - Perl plugin for IntelliJ IDEA
Hi there,

I got a question regarding debugging an application using starman/nginx: Is it possible and how do I have to configure application and IDE? 

Debugging just works great (like the whole Perl Plugin) straight from the IDE and from shell using remote debugging run configuration.  

Regards and thanks in advance
Andre

Alexandr Evstigneev

unread,
Aug 17, 2016, 2:42:16 AM8/17/16
to Camelcade - Perl plugin for IntelliJ IDEA
I have no experience debugging Smartman, only apache in CGI mode.
I've created a debugging handler for request with specific url and that handler started in debugging mode with -d:Camelcadedb switch.
Environment variables should be configured according to the wiki: https://github.com/Camelcade/Perl5-IDEA/wiki/Perl-Debugger
That is all you need to do: 

1. set up env
2. start perl interpreter in debugging mode 
3. remember about concurrency, it should be a single request (so it's not possible to debug production server with regular load)

IDE set up depends on configured env.

вторник, 16 августа 2016 г., 23:46:57 UTC+3 пользователь Andre Uhlig написал:
Reply all
Reply to author
Forward
0 new messages