Does Codespaces support offline development? Is an Internet connection now required 100% of the time to write code?
You can also use https://code.visualstudio.com/docs/remote/containers to run an identical container locally to reproduce the environment, and then connect to it.