Skip to content

Sample Launch.json

Damian edited this page May 2, 2022 · 2 revisions

The following is a sample of the generated launch.json file.

In this sample, it is using PuTTY's PLink with a manually provided password and not an SSH key file (ppk).

{
  "version": "0.2.0",
  "adapter": "C:\\Program Files (x86)\\PuTTY\\plink.exe",
  "adapterArgs": "-ssh -pw PASSWORD USERNAME@HOSTIP -batch -T ~/vsdbg/vsdbg  --engineLogging=./VSLinuxDbg/ConsoleNet5/_vsdbg.log",
  "configurations": [
    {
      "name": "Debug on Linux",
      "type": "coreclr",
      "request": "launch",
      "program": "dotnet",
      "args": [
        "ConsoleNet5.dll"
      ],
      "cwd": "./VSLinuxDbg/ConsoleNet5",
      "console": "integratedTerminal"
    }
  ]
}
Clone this wiki locally