Debugging Xdebug Workshop PHP UserGroup Dresden Dresden, Germany October 4th, 2019 Derick Rethans derick@xdebug.org derickr https://derickrethans.nl/talks/xdebug-workshop-dresden19 slides/xdebug/title.xml slides/mongodb/me.xml Morning - Xdebug essentials: - Setup fur (remote) debugging via web requests and CLI (in PHPStorm) - Usage of breakpoints (with conditionals) - What is debuggable with Xdebug and what is not slides/xdebug/step-debugging.xml slides/xdebug/debugger-activation.xml slides/xdebug/debugger-browser-extensions.xml slides/xdebug/dbgp-connection.xml slides/xdebug/port9000.xml slides/xdebug/xdebug-2.6-new-dbgp.xml slides/xdebug/debugger-connection-log.xml slides/xdebug/breakpoints-2.xml slides/xdebug/phpstorm.xml slides/mongodb/excercise.xml - Stack & Function Traces slides/xdebug/functiontrace-computerized.xml slides/xdebug/functiontrace-summary.xml slides/mongodb/excercise.xml Afternoon - Xdebug advanced: - Understanding code coverage output / reports - Code Coverage Whitelist Filter and how to use it with PHPUnit - Garbage Collection Stats slides/xdebug/paths.xml slides/xdebug/vld-path-4-code.xml slides/xdebug/vld-path-4-output.xml slides/xdebug/vld-path-3-code.xml slides/xdebug/vld-path-3-output.xml slides/xdebug/vld-path-3-paths.xml slides/xdebug/vld-path-5-wrapup.xml slides/mongodb/excercise.xml - Profiling with Xdebug (Cachegrind files and configuration options) slides/xdebug/profile2.xml slides/xdebug/profiling.xml slides/xdebug/profiling2.xml slides/mongodb/excercise.xml slides/mongodb/questions.xml slides/xdebug/resources.xml