4

How can I disable Run Script and Debug Script from showing in package.json?

enter image description here

I saw a similar issue but couldn't resolve it. visual studio code - How to disable 'Debug' from showing in package.json - Stack Overflow

starball
  • 20,030
  • 7
  • 43
  • 238
hhyyg
  • 188
  • 1
  • 4

1 Answers1

0

Put the following in your settings.json file:

"npm.scriptHover": false

The setting's description:

Display hover with 'Run' and 'Debug' commands for scripts.

starball
  • 20,030
  • 7
  • 43
  • 238