How to set up perl debugging environment in popular IDEs in HPC OnDemand

Hi all,
I’d like to post an interesting question I encountered from a ticket I reeived recently. A user asked if we can help set up a perl debugging environment in some programming IDE instead of using the command line ‘perl -d’ debugger. I had thought it was quite straightforward at the beginning, since there were two options already posted online:

  1. using Jupyter notebook, by installing Devel::IPerl (Devel-IPerl-0.012 - Perl language kernel for Jupyter - metacpan.org)
  2. using VS code, by installing Perl::LanguageServer extension in VS code and module in Perl. (VSCode as a Perl IDE - DEV Community)

Both methods sound not too complicated. However when I tried to follow the instructions to install the suggested perl module, I encountered a great deal of failures in installing the dependencies.

So my question is to ask if anyone has some successful installation experiences with the above two perl module installations, if so, would you mind share it in an elaborate manner so I can follow and reproducce the success? or if you know some better tools out there on the market, that’ll be also very much appreciated.

Thank you very much in advance.
Yun