Nihilus118 / perl-debug-adapter

MIT License
11 stars 1 forks source link

How you specify which perl to run? #16

Open dwright opened 1 month ago

dwright commented 1 month ago

I'm running in an environment that has a system perl and multiple app perls. I use a custom tool that is very similar to plenv to select the perl I want to use from the commandline. I tried setting up a preLaunchTask in my launch.json to setup my environment prior to running the debugger, but the debugger tried to use the system perl anyway. Is there a way that I can instruct the Perl debug adapter which perl to use?

Nihilus118 commented 1 month ago

Yes, it is possible to provide the perlExecutable by modifying the launch.json file. You can explicitly specify the path to the desired Perl interpreter in your launch.json configuration.