[Koha-devel] how to debug

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Apr 9 14:49:41 CEST 2020


Hi Marco,

Did you see those 3 lines on the wiki
(https://wiki.koha-community.org/wiki/Debugging_in_VIM)?

"""
Remote Debugging won't work under plack; you'll also have to disable
plack in the virtualhost as well.
Disable Plack
Restart Apache
"""

Regards,
Jonathan

Le lun. 6 avr. 2020 à 17:30, M.Wahls <marco.wahls at gmx.de> a écrit :
>
> Hello koha-devel,
>
> i'm facing a general problem on debugging.
> The remote debugger (on koha-testing-docker instance) seams to ignore my
> breakpoints.
> If the debugger connects my Komodo-11.1 it stops on the first executable
> (starman file) and thats it.
>
> In my example i used Ubuntu.
> Koha-testing-docker and Komodo-11.1 are up and running.
> the debugger connects to komodo.
>
> Here are my steps on koha-testing-docker:
> wget
> https://downloads.activestate.com/Komodo/releases/11.1.1/remotedebugging/Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64.tar.gz
> tar xzf Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64.tar.gz
> mkdir dbgp
> mkdir dbgp/perllib
> mv Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64/* dbgp/perllib/
> rm -rf Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64
> ip a
> sudo koha-plack --stop kohadev
> start_plack_debug
>
> the mapping on the komodo project is configured like this:
> URI: file://dd1090d5f944/kohadevbox/koha
> Maps to: /home/user/git/koha
>
> it's really a strange problem. And because of a lack of documentation
> i'm not sure if i just misconfigured something tiny - albeit reading a
> lot of tutorials and documentation on remote debugging Perl in general.
> i would sugest the best way is to take a look on a machine i put online.
> Because it's more handy than writing mails. Feel free to send me an
> email: marco.wahls at gmx.de
>
> best wishes
> Marco
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list