Block B - Slot 4
Do you find yourself doing dpm(), print_r(), or backdrop_set_message() to print the contents of variables all the time? Level-up your coding skills by using a debugger. Debuggers allow inspecting the contents of variables as code runs so that you can easily see the contents. Debuggers can also help resolve logic issues, allowing code to be step through one line at a time.
This demo will use DDEV to set up XDebug because it is the easiest known way to get up and running with a local debugger. XDebug can then be connected to IDEs like PHPStorm and VSCode, which provides the interface for inspecting variables and controlling execution.
Learn about:
- Breakpoints
- Inspecting variables
- Stepping through execution line-by-line
- Conditional breakpoints
- Intermediate
- Experienced
- Developers (yes code)
- Back-End Developers (modules + more)
Recent comments
I am adding some notes from this session in comment configs for different environment https://...
I would love to be at this session, but I'm not getting up at 2 AM to be able to be present and aware. :)
In the news: the Louvre's video surveillance system had the password: Louvre
That would be great thanks Alex
I ported Access by Term (ABT) from Drupal and use it on an internal site. I think it is a very useful module for...