Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/debugpy
/ snapshot
Method
snapshot
src/debugpy/common/util.py:39–41 ·
view source on GitHub ↗
Returns a snapshot of the current environment.
()
Source
from the content-addressed store, hash-verified
37
38
@staticmethod
39
def
snapshot():
40
""
"Returns a snapshot of the current environment."
""
41
return
Env(os.environ)
42
43
def
copy(self, updated_from=None):
44
result = Env(self)
Callers
1
_make_env
Method · 0.80
Calls
1
Env
Class · 0.70
Tested by
no test coverage detected