Skip to content

Explaining --debug as alias for -vv #6147

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

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

ThomasLandauer
Copy link
Member

@@ -27,9 +27,9 @@
*
* * `codecept run -v`:
* * `codecept run --steps`: print step-by-step execution
* * `codecept run -vv`:
* * `codecept run --debug`: print steps and debug information
* * `codecept run -vvv`: print internal debug information
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is internal debug information? I have no idea, so I doubt that anyone else knows what it is too.

As far as I know, the main (and only?) difference is that -vvv displays full stack trace in error output.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken the info from #6081 (comment)
Further down, I've called it "Codeception-internal debug" - is that better? The idea is to give users a hint that vvv is just for searching bugs inside Codeception (isn't it?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably it is correct.
The difference is that in lower levels of verbosity PHPUnit and Codeception classes are removed from displayed stack trace.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So merge it as-is? Or change something?

@Naktibalda Naktibalda merged commit 9035833 into Codeception:4.1 Mar 22, 2021
@ThomasLandauer ThomasLandauer deleted the patch-12 branch March 22, 2021 11:07
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.

2 participants