raix / vscode-perl-debug

LOOKING FOR MAINTAINERS. Perl debugger extension for visual studio code
MIT License
63 stars 36 forks source link

Do not stop the remote server once the client disconnects #154

Open Nowaker opened 4 years ago

Nowaker commented 4 years ago

As soon as I stop the application, the remote debugger stops listening on its port. It should be possible to configure vscode-perl-debug to not stop the debugger, and simply await a new connection. Example:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "perl",
      "request": "launch",
      "name": "Perl-Debug",
      "console": "remote",
      "onDisconnect": "keep",
      "port": 9000,
      "root": "${workspaceFolder}",
      "program": "${workspaceFolder}/${relativeFile}",
      "stopOnEntry": false,
      "reloadModules": false
    }
  ]
}