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

Debugging cookbook entry #6342

Closed
1 of 4 tasks
theofidry opened this issue Mar 9, 2016 · 5 comments
Closed
1 of 4 tasks

Debugging cookbook entry #6342

theofidry opened this issue Mar 9, 2016 · 5 comments
Labels
actionable Clear and specific issues ready for anyone to take them. Debug Stalled

Comments

@theofidry
Copy link
Contributor

theofidry commented Mar 9, 2016

As of now there is How to Optimize your Development Environment for Debugging as a cookbook entry for debugging. But what do you think of pushing that a bit further? For example we could talk about:

  • The VarDumper component: I wouldn't expect a lengthy explanation on it, but at least mentioning it, showing an example and providing a link to the doc
  • How to debug step by step with XDebug: maybe a bit more tricky as can depend of the IDE. So not sure of how to push that but but maybe mentioning it would be enough with links as to how to set it up.
  • Useful Symfony commands helpful for debugging: how to list all the routes, the container services, parameters...
  • A word of REPL with PsySH and its Symfony integration PsyshBundle

In short, without pretending to cover everything about debugging, I would find it nice to have an entry listing some tools available for debugging.

@wouterj
Copy link
Member

wouterj commented Mar 12, 2016

👍 For adding a quick example of VarDumper and mentioning Psysh (never heard about it, but it seems really cool).
👍 For adding a list of Symfony debug commands
👎 For documenting xDebug, we can mention it but the usage (step by step) tutorial should be done by xDebug documentation.

@wouterj wouterj added Doc Request actionable Clear and specific issues ready for anyone to take them. Debug labels Mar 12, 2016
@javiereguiluz
Copy link
Member

I fully agree with @wouterj.

wouterj added a commit that referenced this issue Oct 20, 2016
…(hiddewie)

This PR was merged into the 2.7 branch.

Discussion
----------

Added useful debug commands in the debug documentation

Issue #6342.

Added a small list of available and useful debug commands on the debug page.

Commits
-------

c27fc68 Update controllers.rst
@carsonbot
Copy link
Collaborator

Thank you for this issue.
There has not been a lot of activity here for a while. Has this been resolved?

@carsonbot
Copy link
Collaborator

Just a quick reminder to make a comment on this. If I don't hear anything I'll close this.

@wouterj
Copy link
Member

wouterj commented Jan 2, 2021

Unfortunately, the debug guide was removed from the documentation. If we find a relevant place to mention psysh I'm all-in, but let's close for now.

@wouterj wouterj closed this as completed Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. Debug Stalled
Projects
None yet
Development

No branches or pull requests

5 participants
@javiereguiluz @wouterj @theofidry @carsonbot and others