Closed Rytisgit closed 1 year ago
The default configuration tries to start the programm that is currently open in the editor. The error looks like you are currently editing the launch.json itself, with, of course, cannot debugged as perl programm. Try to switch to the programm you want to debug in the editor and start the debugger again.
Looks like you are correct, not sure how it didn't occur to me. Sorry for the bogus report.
I wanted to try debugging Perl on remote WSL2 from Windows using the Remote Development extension, after generating the default launch.json:
and trying to launch debugging it outputs the error:
trying the same on natively installed vscode inside wsl, the debugger launches correctly.