In a new post to the Liip blog Karine Chor shares some helpful Drupal 8 debugging tips and things you can do to determine what you code is doing "under the covers".
It has been nearly 7 months since Drupal 8 first release and as a developer, I am still in the learning process. It can be hard sometimes to know what is going wrong with your code and how to solve it. I will tell you about few things to know on how to develop and debug Drupal 8 projects and continue learning, learning and learning !
Her tips cover topics like:
- Disabling cache
- Displaying errors
- Creating log messages
- Debugging Twig templates
- Profiling pages
The post ends with a section covering use of the the Drupal command line tool to provide even more real-time debugging functionality.