richterger / Perl-LanguageServer

Language Server for Perl
Other
225 stars 52 forks source link

Add 'console' Attribute Support in 'launch.json' for Terminal UI Debugging #202

Open azazar opened 11 months ago

azazar commented 11 months ago

Perl-LanguageServer doesn't support "console" in "launch.json", hindering debugging and running of terminal UI apps.

image

image

wielandp commented 11 months ago

Did you see https://github.com/richterger/Perl-LanguageServer/issues/149 ? And https://github.com/richterger/Perl-LanguageServer/pull/166 ?

This may help you, if you need just stdin redirection. But may not, if you want to debug a real console UI

richterger commented 11 months ago

I would expect the handling of different consoles is implemented by vscode itself. If this is not the case, I am not aware how to do this. Any hints or even better, a push request, are welcome.