Changes

From SME Server
Jump to navigationJump to search
Line 118: Line 118:  
  export PERL5LIB /usr/local/lib64/perl5:/usr/local/share/perl5:/usr/lib64/perl5/vendor_perl:/usr/share/perl5/vendor_perl
 
  export PERL5LIB /usr/local/lib64/perl5:/usr/local/share/perl5:/usr/lib64/perl5/vendor_perl:/usr/share/perl5/vendor_perl
 
  export PERLDB_OPTS=
 
  export PERLDB_OPTS=
 +
 +
==== Perl CGI Debugging====
 +
 +
[[Debugging CGI programs on live production servers can seriously impair performance. You have been warned !!]]
 +
 +
I have not tested this as yet. Please see here for further details:
 +
 +
http://docs.komodoide.com/Manual/debugperl#debugging-perl-komodo-ide-only_configuring-perl-for-cgi-debugging
 +
 +
You would need a custom httpd.conf frgament with the following (I am not going to go into the full how to here)
 +
 +
SetEnv PERL5LIB "/opt/dbgp/perllib"
 +
SetEnv PERLDB_OPTS "RemotePort=<hostname>:<port>"
 +
SetEnv DBGP_IDEKEY "<ide_key>"
 +
 +
You should now be able access your cgi-script - e.g. server-manager and debug accordingly.
 +
    
====Multiple machine debug proxy====
 
====Multiple machine debug proxy====
    
TBA
 
TBA
 +
 +
Notes are here:
 +
http://docs.komodoide.com/Manual/debugger#debugging-programs-komodo-ide-only_remote-debugging_debugger-proxy
 +
    
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Developer]]
 
[[Category:Developer]]

Navigation menu