Debug rt with vs code

I want to use vs code to develop/debug RT extensions. I’ve already installed a related vs code plugin and managed to debug simple Perl applications. I want to know how I should configure launch.json to be able to debug RT properly. Here is my initial launch.json:

    "version": "0.2.0",
    "configurations": [
            "type": "perl",
            "request": "launch",
            "name": "Perl-Debug",
            "program": "${workspaceFolder}/${relativeFile}",
            "stopOnEntry": true,
            "reloadModules": true

I appreciate your help,