mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-26 23:04:36 +02:00
typos fixed
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
---
|
||||
title: XDebug
|
||||
title: Xdebug
|
||||
isChild: true
|
||||
anchor: xdebug
|
||||
---
|
||||
|
||||
## XDebug {#xdebug_title}
|
||||
## Xdebug {#xdebug_title}
|
||||
|
||||
One of the most useful tools in software development is a proper debugger. It allows you to trace the execution of your
|
||||
code and monitor the contents of the stack. XDebug, PHP's debugger, can be utilized by various IDEs to provide
|
||||
code and monitor the contents of the stack. Xdebug, PHP's debugger, can be utilized by various IDEs to provide
|
||||
Breakpoints and stack inspection. It can also allow tools like PHPUnit and KCacheGrind to perform code coverage
|
||||
analysis and code profiling.
|
||||
|
||||
If you find yourself in a bind, willing to resort to `var_dump()`/`print_r()`, and you still can't find the solution -
|
||||
maybe you need to use the debugger.
|
||||
|
||||
[Installing XDebug][xdebug-install] can be tricky, but one of its most important features is "Remote Debugging" - if
|
||||
[Installing Xdebug][xdebug-install] can be tricky, but one of its most important features is "Remote Debugging" - if
|
||||
you develop code locally and then test it inside a VM or on another server, Remote Debugging is the feature that you
|
||||
will want to enable right away.
|
||||
|
||||
@@ -34,10 +34,10 @@ Your IDE will now intercept the current state as the script executes, allowing y
|
||||
values in memory.
|
||||
|
||||
Graphical debuggers make it very easy to step through code, inspect variables, and eval code against the live runtime.
|
||||
Many IDE's have built-in or plugin-based support for graphical debugging with xdebug. MacGDBp is a free, open-source,
|
||||
stand-alone xdebug GUI for Mac.
|
||||
Many IDE's have built-in or plugin-based support for graphical debugging with Xdebug. MacGDBp is a free, open-source,
|
||||
stand-alone Xdebug GUI for Mac.
|
||||
|
||||
* [Learn more about XDebug][xdebug-docs]
|
||||
* [Learn more about Xdebug][xdebug-docs]
|
||||
* [Learn more about MacGDBp][macgdbp-install]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user