Skip to content
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

devenv: add devenv.debug option #556

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

bobvanderlinden
Copy link
Contributor

@bobvanderlinden bobvanderlinden commented Apr 26, 2023

Currently when there are problems it is hard to reproduce and hard to find out which parts of enterShell are at fault. To get more information about what is going on I thought it was nice to have a debug option in devenv that enables debugging in bash when running the shellHook/enterShell scripts.

This was done in response to #555, which seemed like an issue that was hard to reproduce.

This allows people to add devenv.debug = true; to their configuration and it would show all lines that were executed by bash.

I thought about adding a test, but I couldn't find a good/nice way to do so. Suggestions are welcome!

@domenkozar domenkozar merged commit bbc9ef9 into cachix:main Apr 26, 2023
36 of 83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants