Skip to content

How to launch a debug session without either VS or VS Code? #1481

@Zhangwen-Zhiyuan

Description

@Zhangwen-Zhiyuan

I tried writing the following content into process.StandardInput:

Content-Length: 155\r\n\r\n{"seq":1,"type":"request","args":{"program":"/mnt/disk/test/C_sharp/executable","launchOptionType":"Local","miDebuggerPath":"/usr/bin/gdb","MIMode":"gdb"}}

However, I received the following error:

{
  "type": "event",
  "event": "output",
  "body": {
    "category": "stderr",
    "output": "Stopping due to fatal error: ArgumentNullException: Value cannot be null. (Parameter 'key')\n"
  },
  "seq": 1
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions