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

Add a --debug command line option #1296

Merged
merged 3 commits into from
Oct 19, 2017
Merged

Conversation

coderanger
Copy link
Contributor

This option works with the converge, verify, and test command and enables plugin-specific debugging behavior. I've added support in the Chef provisioners to change the log level of Chef to debug.

The goal is here to make it Very Easy™ to get debugging data when iterating with Test Kitchen. Like kitchen converge -D, rather than having to edit the .kitchen.yml each time or use fancy Erb tricks.

@drrk
Copy link

drrk commented Oct 17, 2017

👍 Thanks for this Noah, when I made the change to split the kitchen debugging from the provisioner debugging I couldn't get my head round how to add the command line options for it.

@coderanger
Copy link
Contributor Author

@drrk Want to make that an official code review? :)

@drrk
Copy link

drrk commented Oct 19, 2017

No, because I still don't understand how it works :(

@coderanger coderanger merged commit b26fef8 into test-kitchen:master Oct 19, 2017
@coderanger coderanger deleted the debug-ux branch October 19, 2017 16:28
@test-kitchen test-kitchen locked and limited conversation to collaborators Mar 20, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants