richterger / Perl-LanguageServer

Language Server for Perl
Other
224 stars 51 forks source link

@ARGV not listed in VARIABLES>Arguments section #105

Closed dseynhae closed 3 years ago

dseynhae commented 3 years ago

For any Perl program, we can provide arguments in the launch.json:

        "program": "${workspaceFolder:bin}/program.pl",
        "args": [
          "2021-01-01",
        ],

When running the program, I can of course access those arguments in the @ARGV array.

However, I was expecting to see them in the Debug side window, under VARIABLES>Arguments? They are not there: image

I can of course put this array in my WATCH section: image

But ideally, the content of the @ARGS variable should just be listed as an array under VARIABLES>Arguments...

richterger commented 3 years ago

Fix in 0db06dd3da3a28f6025cbbf8930379ff172c96e7