<div dir="ltr">I will add the debugger into koha-testing-docker for simplicity.<div>When breakpoints don't work, it is because of the mappings.</div><div><br></div><div>In KohaDevBox the hostname for the VM was 'kohadevbox' and the URI mapping was set to //kohadevbox/home/vagrant/kohaclone <- that still works</div><div>In koha-testing-docker the last time I tried the problem was the hostname was resolved into something a bit random like koha_koha_11236287361287. Maybe that's where things don't work.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 6 abr. 2020 a las 12:30, M.Wahls (<<a href="mailto:marco.wahls@gmx.de">marco.wahls@gmx.de</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello koha-devel,<br>
<br>
i'm facing a general problem on debugging.<br>
The remote debugger (on koha-testing-docker instance) seams to ignore my<br>
breakpoints.<br>
If the debugger connects my Komodo-11.1 it stops on the first executable<br>
(starman file) and thats it.<br>
<br>
In my example i used Ubuntu.<br>
Koha-testing-docker and Komodo-11.1 are up and running.<br>
the debugger connects to komodo.<br>
<br>
Here are my steps on koha-testing-docker:<br>
wget<br>
<a href="https://downloads.activestate.com/Komodo/releases/11.1.1/remotedebugging/Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64.tar.gz" rel="noreferrer" target="_blank">https://downloads.activestate.com/Komodo/releases/11.1.1/remotedebugging/Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64.tar.gz</a><br>
tar xzf Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64.tar.gz<br>
mkdir dbgp<br>
mkdir dbgp/perllib<br>
mv Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64/* dbgp/perllib/<br>
rm -rf Komodo-PerlRemoteDebugging-11.1.1-91089-linux-x86_64<br>
ip a<br>
sudo koha-plack --stop kohadev<br>
start_plack_debug<br>
<br>
the mapping on the komodo project is configured like this:<br>
URI: file://dd1090d5f944/kohadevbox/koha<br>
Maps to: /home/user/git/koha<br>
<br>
it's really a strange problem. And because of a lack of documentation<br>
i'm not sure if i just misconfigured something tiny - albeit reading a<br>
lot of tutorials and documentation on remote debugging Perl in general.<br>
i would sugest the best way is to take a look on a machine i put online.<br>
Because it's more handy than writing mails. Feel free to send me an<br>
email: <a href="mailto:marco.wahls@gmx.de" target="_blank">marco.wahls@gmx.de</a><br>
<br>
best wishes<br>
Marco<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.org/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Tomás Cohen Arazi</div><div style="font-size:12.8px">Theke Solutions (<a href="http://theke.io/" target="_blank">http://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div></div></div>