|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/mastering-php-debugging-with-xdebug/
课程评论:没有评论
**课程名称:** 使用 PhpStorm & VSCode 掌握 PHP Xdebug 调试 **课程概述:** 本课程旨在帮助您掌握 PHP 代码调试的关键技能,从而显著提高调试和修复问题的效率。在 PHP 这一非编译型脚本语言中,调试至关重要。虽然 `var_dump`、`die` 和 `echo` 是初学者常用的调试方法,但本课程将带您深入学习 **Xdebug**,这是最流行的 PHP 调试扩展,助您像忍者一样高效调试。 **您将学到:** * **安装与启用 Xdebug:** 在您的 PHP 环境中安装并启用 Xdebug。 * **IDE 集成:** 在您喜爱的 IDE(PhpStorm 和 VSCode)中配置 Xdebug。 * **提升调试体验:** 升级您的 Xdebug 调试技能。 * **优化 `var_dump`:** 使用 Xdebug 的开发者模式优化 `var_dump` 的使用。 * **Xdebug 逐步调试:** 学习如何使用 Xdebug 对测试用例进行逐步调试。 * **加速问题排查:(Xdebug 调试模式)** 利用 Xdebug 的调试模式进行快速的逐步调试,加速 bug 调查。 * **性能分析:** * 为您的请求和场景生成性能分析报告(Profile)。 * 可视化性能分析数据,识别和突出显示项目中的性能瓶颈(时间或内存)。 * **代码覆盖率:** 为您的代码和测试生成代码覆盖率报告。 * **跟踪数据:** 为函数执行生成并使用跟踪数据(Trace Data)。 * **远程调试:** 学习 Xdebug 的远程调试功能。 * **Docker 环境调试:** 在 Docker 环境中使用 Xdebug 进行调试。 * **CLI 脚本调试:** 调试 PHP 命令行脚本,如 Symfony Console 命令。 * **API 调试:** 使用 Postman 调试 API。
Debugging your code is one of the most important experiences you should know and master to speed up your debugging and fixing issues Process.And in PHP Word debugging is critical, because you dealing with a scripting language that it's not compiled So You can use Var_dump, die, and Echo to start to debug But this is the amateur way.In This Course you will learn how to use Xdebug like Ninja, Xdebug is the most popular Debugging Extension For PHP You can use it to speed up your Debug Investigation and Test cases Not only that You can do a lot using Xdebug So I will list here what You will learn in this courseInstall Xdebug and Enable it in Your PHP Environment Config Xdebug in Your Favorite IDE like PHPStorm and VsCodeUpgrade your Debugging experience with XdebugOptimize Var_dump usage using develop ModeHow to Use Xdebug For Step debugging Your Test CasesSpeed Up your bug investigation using Xdebug Debug mode for Step DebuggingGenerate a Profile for your Requests and Scenarios Visualize The Profile Data to detect and highlight the performance issues in your Project in the Time or MemoryHow to Generate the Code Coverage For your Code and TestsHow to Generate and Use Trace Data For Your Functions ExecutionsHow to Use Xdebug for Remote DebuggingHow To Use Xdebug From Docker EnvironmentHow To Debug PHP CLI Like Symfony Console CommandsHow To Debug API Using Postman