Skip to content

Perl debugger not working VSCODE #212

@JimmyTheCool

Description

@JimmyTheCool

Hi,

I am having a similar issue to:
#211
Except I am not using linex, and am installing on windows 11.

I have followed the steps in https://stackoverflow.com/questions/73290735/installing-perl-in-vscode

I had to install perl 5.20.3_64 (installed using berrybrew) to get the languageserver to install.
I ran:
cpanm --force AnyEvent::AIO
cpanm --force Coro
cpanm Perl::LanguageServer

My Settings.json looks like
{
"version": "0.2.0",
"configurations": [
{
"type": "perl",
"request": "launch",
"name": "Perl-Debug",
"program": "${workspaceFolder}/${relativeFile}",
"stopOnEntry": true,
"reloadModules": true
}
],
"perl.perlInc": [
"C:/berrybrew/instance/5.20.3_64/perl/site/lib/MSWin32-x64-multi-thread",
"C:/berrybrew/instance/5.20.3_64/perl/site/lib",
"C:/berrybrew/instance/5.20.3_64/perl/vendor/lib",
"C:/berrybrew/instance/5.20.3_64/perl/lib ."],
"[perl]": {
"editor.defaultFormatter": "richterger.perl"
},
"debug.toolBarLocation": "docked"
}

My launch.json looks like:
{
"version": "0.2.0",
"configurations": [
{
"type": "perl",
"request": "launch",
"name": "Perl Debug",
"program": "${workspaceFolder}/${relativeFile}",
"args": [],
"env": {},
}
]
}

Does anyone have any solutions?
I run "F5" and the debugger doesnt do anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions