Setting up VSCode for C/C++ debugging on Window 7 with gcc, g++ and gdb

后端 未结 3 688
一生所求
一生所求 2021-01-14 06:33

I was following instructions from here. Installed cpptools. Created tasks.json with following contents:

{
    \"version\": \"0.1.0\",
    \"comm         


        
3条回答
  •  -上瘾入骨i
    2021-01-14 07:01

    If you want command.PickProcess to work..

    It should be a ':' not a '.' - therefore:

    {
        "name": ".NET Core Attach",
        "type": "coreclr",
        "request": "attach",
        "processId": "${command:pickProcess}"
    }
    

    Should sort you out :)

提交回复
热议问题