![]() Perl.showLocalVars: if true, show also local variables in symbol view bugAdapterPortRange: if debugAdapterPort is in use try ports from debugAdapterPort to debugAdapterPort + debugAdapterPortRange. bugAdapterPort: port to use for connection between vscode and debug adapter inside Perl::LanguageServer. Perl.ignoreDirs: directories to ignore, defaults to ![]() Perl.fileFilter: array for filtering perl file, defaults to This setting is used by the syntax checker and for the debuggee and also for the LanguageServer itself. Perl.perlInc: array with paths to add to perl library path. Perl.pathMap: mapping of local to remote paths UseTaintForSyntaxCheck: if true, use taint mode for syntax check ![]() Perl.perlArgs: additional arguments passed to the perl interpreter that starts the LanguageServer Perl.sshWorkspaceRoot: path of the workspace root on remote system Perl.sshCmd: defaults to ssh on unix and plink on windows Perl.sshPort: optional, port for ssh to remote system Perl.sshAddr: ip address of remote system Perl.enable: enable/disable this extension This extension contributes the following settings: In case the test fails, when running cpan install, you should try to run force install. The cpan command will install missing dependencies. In case any of the above packages are not available for your os version, just leave them out. on Centos 7 run: sudo yum install perl-App-cpanminus perl-AnyEvent-AIO perl-Coro Libdata-dump-perl libio-aio-perl libjson-perl libmoose-perl libpadwalker-perl \Į.g. on Debian/Ubuntu run: sudo apt install libanyevent-perl libclass-refresh-perl libcompiler-lexer-perl \ It is a good idea to install most of then with your linux package manager.Į.g. Perl::LanguageServer depends on other Perl modules. So just confirm the warning and install it. There is a warning that this might not work with newer Perls. NOTE: Perl::LanguageServer depend on AnyEvent::AIO and Coro. Please make sure to always run the newest version of Perl::LanguageServer as well. run cpan Perl::LanguageServer on your target system. You need to install the perl module Perl::LanguageServer to make this extension work, e.g. Variable view, can switch to every stack frame or coro threadĮvaluate perl code in debuggee, in context of every stack frame of coro threadĪutomatically reload changed Perl modules while debugging Language Server and Debug Protocol Adapter for Perl Featuresĭocument and selection formatting via perltidyīreakpoints can be set while program runs and for modules not yet loaded To use both with Visual Studio Code, install the extension "perl"Īny comments and patches are welcome. Should work with any Editor/IDE that support the Language-Server-Protocol. ![]() It also implements the Debug Adapter Protocol, which allow debugging with various editors/includes Perl to various editors, for example Visual Studio Code or Atom. It implements the Language Server Protocol which provides syntax-checking, symbol search, etc. This is a Language Server and Debug Protocol Adapter for Perl Perl::LanguageServer - Language Server and Debug Protocol Adapter for Perl VERSION
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |