Skip to content

"Property processName is not allowed." in launch.json #48844

Closed

Description

@hsandt
  • VSCode Version: 1.22.2
  • OS Version: Windows 10

The config.json parser does not recgonize the new processName parameter, only the processId one. Therefore, if you put processName but not processId, you'll get 2 warnings in the issues list:

  • Missing property "processId"
  • Property processName is not allowed.

Steps to Reproduce:

  1. Create a launch.json configuration with this:

{
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Attach",
"type": "cppvsdbg",
"request": "attach",
"processName": "my_program.exe"
}
]
}

  1. Open the Issues panel or go to next error (F8) to see the 2 errors mentioned at the beginning.

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. weinand commented on Apr 27, 2018

    @weinand
    Contributor

    If someone introduces a new attribute like "processName", the schema must be updated too.
    File this issue against the "cppvsdbg" extension.

  2. locked and limited conversation to collaborators on Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions