Wenfang Du
Wenfang Du

Reputation: 11317

How to disable “Debug” from showing in package.json

How to disable the outlined "Debug" tip from showing up in package.json above the scripts section:

enter image description here

Upvotes: 27

Views: 14719

Answers (2)

Nisal Edu
Nisal Edu

Reputation: 7591

Do as follows,

Settings > Features > Debug > Launch

enter image description here

enter image description here

enter image description here

Then restart the vs code

Upvotes: 1

Mark
Mark

Reputation: 180695

The setting is

  "debug.javascript.codelens.npmScripts": "never",

codelensDebug

Since it appears as part of the scripts section of the package.json I searched for scripts in the Settings and it was the second entry.

Upvotes: 58

Related Questions