Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to disable debug from showing up in package.json #100104

Closed
wenfangdu opened this issue Jun 14, 2020 · 4 comments
Closed

Add setting to disable debug from showing up in package.json #100104

wenfangdu opened this issue Jun 14, 2020 · 4 comments

Comments

@wenfangdu
Copy link
Contributor

wenfangdu commented Jun 14, 2020

After upgrading to V1.46.0, this showed up, I asked "how to disable debug in package.json" in this stackoverflow question, the setting seems to be non-existent.
image

@gjsjohnmurray
Copy link
Contributor

Just a guess - does npm.scriptCodeLens.enable affect this?

@ArturoDent
Copy link

ArturoDent commented Jun 14, 2020

Please see your SO question, I answered it there: https://stackoverflow.com/a/62368407/836330

which setting debug.javascript.codelens.npmScripts doesn't seem to appear in https://code.visualstudio.com/docs/getstarted/settings

That setting worked for me to remove the Debug from package.json.

{npm.scriptCodeLens.enable is flagged as an Unknown Configuration Setting.]

@gjsjohnmurray
Copy link
Contributor

@ArturoDent thanks for the correction. I found reference to that setting in #51613 (comment) but I guess it got moved.

@wenfangdu
Copy link
Contributor Author

"debug.javascript.codelens.npmScripts": "never" did the trick ,thank you all! @ArturoDent @gjsjohnmurray

@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants