VSCodeTips

Discussion on: How to Hide Your .env While You're Livestreaming

Collapse
darylstark profile image
Daryl Stark

Good tip! Does this also work to hide variables during debug?

Collapse
cerchie profile image
Lucia Cerchie Author

What debugging UIs are you thinking of? I think keys would still show up on console.log, for example.

Collapse
darylstark profile image
Daryl Stark

I like to create a variable that contains the username and password for specific taka, but when the debugger stops at a breakpoint, that variable is visible at the left hand side in the Variable View.

Thread Thread
cerchie profile image
Lucia Cerchie Author

So I don't think it would hide the variables in that case-- the extension only hides items in the .env file johnpapa.net/hide-your-secrets-in-...