<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Segoe UI Symbol";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hey Tomas,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Language Server Protocol looks super interesting. I’ve been using Visual Studio lately when writing C# and I have been feeling IDE envy when going back to writing Perl.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After reviewing <a href="https://langserver.org/">https://langserver.org/</a>, I think that Rich hasn’t organised the Github very well. In <a href="https://github.com/richterger/Perl-LanguageServer">https://github.com/richterger/Perl-LanguageServer</a> the Language Server is in lib/Perl and the LSP client is in clients/vscode/perl. Those should really be 2 separate repos imho, as they’re totally separate projects. The documentation leaves a lot to be desired too…<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>But after reviewing <a href="https://github.com/richterger/Perl-LanguageServer/blob/master/clients/vscode/perl/src/extension.ts">https://github.com/richterger/Perl-LanguageServer/blob/master/clients/vscode/perl/src/extension.ts</a>, I think I have a better idea how it all hangs together. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Looks like you have to pre-install Perl::LanguageServer on the target system (only install – not run), and then that Visual Studio Code extension starts up the server. The info at “Language server and runtime installation” at <a href="https://docs.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=vs-2019#get-started">https://docs.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=vs-2019#get-started</a> seems to indicate that as well. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I commented on your Github issue too about how I see the Remote Debugging working. It looks like you tell Visual Studio Code what info to send via launch.json and then Perl::LanguageServer will create the desired process. That would require some changes to koha-testing-docker’s start up script. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Anyway, looks interesting. I’d definitely be interested in trying this out. I’ll make a note to try it out sometime. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Systems Librarian<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Online: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Koha-devel <koha-devel-bounces@lists.koha-community.org> <b>On Behalf Of </b>Tomas Cohen Arazi<br><b>Sent:</b> Tuesday, 14 July 2020 10:35 PM<br><b>To:</b> koha-devel <koha-devel@lists.koha-community.org><br><b>Subject:</b> [Koha-devel] KTD: Remote debugging (new way)<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Maybe you've been following the latest German Perl Workshop 2020 news, but just in case, there's been an announcement of a full implementation of the Language Server protocol [1] for Perl [2].<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>As you can see in the langserver site, this is supported in most of the code editors available.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I haven't managed to have the time yet to put all the things together so we can use it to develop Koha.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If you have some ideas or time to discuss this, please let me know or share your ideas here so we can build an even better dev environment for Koha.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>[1] <a href="https://langserver.org/">https://langserver.org/</a><o:p></o:p></p></div><div><p class=MsoNormal>[2] <a href="https://github.com/richterger/Perl-LanguageServer/blob/master/docs/Perl-LanguageServer%20und%20Debugger%20f%C3%BCr%20Visual%20Studio%20Code%20u.a.%20Editoren%20-%20Perl%20Workshop%202020.pdf">https://github.com/richterger/Perl-LanguageServer/blob/master/docs/Perl-LanguageServer%20und%20Debugger%20f%C3%BCr%20Visual%20Studio%20Code%20u.a.%20Editoren%20-%20Perl%20Workshop%202020.pdf</a><br><br>--<br>Tomás Cohen Arazi<br>Theke Solutions (<a href="http://theke.io">http://theke.io</a>)<br><span style='font-family:"Segoe UI Symbol",sans-serif'>✆</span> +54 9351 3513384<br>GPG: B2F3C15F<o:p></o:p></p></div></div></div></div></body></html>