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?
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.
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?