Skip to content

package.json - list missing code property#997

Merged
rchiodo merged 3 commits intomicrosoft:mainfrom
Andrej730:fix-missing-code-property
Apr 10, 2026
Merged

package.json - list missing code property#997
rchiodo merged 3 commits intomicrosoft:mainfrom
Andrej730:fix-missing-code-property

Conversation

@Andrej730
Copy link
Copy Markdown
Contributor

Hi! Noticed warning when using code property in launch.json, listed code in package.json to resolve it.

Used description from https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings

Before (property is not detected and VS Code warns about unallowed property):
Code_-_Insiders_s0PLMxE4Tc

After (property is detected and tooltip is shown):
Code_-_Insiders_WagmrmL5T4

@Andrej730
Copy link
Copy Markdown
Contributor Author

On a side note, the way I've found it is by running by accident unfinished launch.json and code turned out to be working just fine.

[Window Title]
Visual Studio Code - Insiders

[Content]
Invalid message: either "program", "module", or "code" must be specified

[Open 'launch.json'] [Cancel]
image

@rchiodo rchiodo added the debt Code quality issues label Apr 9, 2026
@rchiodo rchiodo merged commit 421eabb into microsoft:main Apr 10, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants