devcontainers / devcontainers/cli
Wrap lifecycle hooks and other operations in `start`/`stop` log messages
Open
feature-request
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 457
- Avg merge
- 13h 17m
- Merged PRs (30d)
- 6
Description
Recently Codespaces has gotten several reports where the root cause was difficult to debug. It would be useful if the logs emitted from the CLI clearly mark the start and end of a lifecycle script - perhaps like the following:
```
--- starting to execute 'postCreateCommand' script 'foo'
... foo output...
--- 'postCreateCommand' script 'foo' exited code 0
```
This would be particularly helpful in cases where `foo` does not emit any logs.
Contributor guide
Assessment
This issue has not been assessed yet.