Skip to content

feat: add improved logging around devcontainer.json lifecycle commands #418

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

Closed
johnstcn opened this issue Nov 18, 2024 · 0 comments · Fixed by #420
Closed

feat: add improved logging around devcontainer.json lifecycle commands #418

johnstcn opened this issue Nov 18, 2024 · 0 comments · Fixed by #420
Assignees
Labels
docs Improvements or additions to documentation

Comments

@johnstcn
Copy link
Member

Problem

If you are trying to troubleshoot post create commands etc. it is difficult right now to know if
a) your postCreateCommand is not getting run, or
b) it is getting run but not emitting any output

Proposed Solution

Add debug-level logging when building a devcontainer around the following:

  • Lifecycle script is not present
  • Lifecycle script is present but empty
@coder-labeler coder-labeler bot added the docs Improvements or additions to documentation label Nov 18, 2024
@johnstcn johnstcn changed the title chore: add improved logging around devcontiainer.json lifecycle commands chore: add improved logging around devcontainer.json lifecycle commands Nov 18, 2024
@johnstcn johnstcn changed the title chore: add improved logging around devcontainer.json lifecycle commands feat: add improved logging around devcontainer.json lifecycle commands Nov 19, 2024
@johnstcn johnstcn self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant