<div dir="ltr">Hi everyone,<div>Last week (or so) I posted bug 18964 [1]. It introduces option switches to the koha-plack script allowing it to run in debug mode, starting a debugging session on a remote IDE/editor supporting the xdebug protocol.</div><div><br></div><div>It is submitted and NSO. In the meantime I've added a koha-plack-debug script to KohaDevBox. It's the same script from the bug, different name.</div><div><br></div><div>In order to use it, some new configuration entries need to be set in user.yml:</div><div><br></div><div>- remote_debugger: true</div><div>- remote_debugger_location: "host:port"<br></div><div>- remote_debugger_key: "your_ide_key"</div><div><br></div><div>host:port is set to localhost:9000 by default in this setup. And the IDE key is the empty string ''. Tweak as needed, but keep the surrounding double quotes.</div><div><br></div><div>A new alias has been added:</div><div>- plack_debug_start</div><div><br></div><div>it will fail to run if Plack is already running for the configured instance. Make sure you run this before:</div><div><br></div><div>vagrant$ sudo koha-plack --stop kohadev</div><div>vagrant$ plack_debug_start</div><div><br></div><div>Find me or Lari or Olli on IRC if you have doubts.</div><div><br></div><div>Enjoy!</div><div><br></div><div>[1] <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18964">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18964</a></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Tomás Cohen Arazi</div><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Theke Solutions (<a href="http://theke.io/">https://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div>