Skip to content

Attach to process - Unexpected token N in JSON at position 50177 on Windows #9821

@Valzul

Description

@Valzul

Just updated my VSCode to 1.70.2 on Windows 10, and it seems like I cannot attach to process anymore when wanting to debug C++ ( I got C/C++ extension ) application.

my launch.json is the following :

{
  "configurations": [
    {
      "name": "Attach to process",
      "type": "cppvsdbg",
      "request": "attach",
      "processId" :"${command:pickProcess}"
    }
  ],
  "version": "2.0.0"
}

Here is the result :
vscode_unexpected_token

It seems to work when the request is "launch" to a specific program.

Could this be a problem on my hand ?

Thanks for your help

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions