Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vms:webdev:phpfarm:xdebug [2015/05/06 16:30] admin [Testing your XDebug] |
vms:webdev:phpfarm:xdebug [2016/11/29 18:38] admin [Setting up Xdebug’s remote debug with Atom (1.12.5)] |
||
---|---|---|---|
Line 9: | Line 9: | ||
XDebug can be [[http://xdebug.org/download.php|downloaded in a variety of versions]] or even built from [[https://github.com/derickr/xdebug|sources]]. | XDebug can be [[http://xdebug.org/download.php|downloaded in a variety of versions]] or even built from [[https://github.com/derickr/xdebug|sources]]. | ||
- | Although the easier way to get it running is using Xdebug's website [[http://xdebug.org/wizard.php|installation wizard]] that will help you determine what to do to get XDebug working on your system. Follow the simple instructions and you'll soon have XDebug installed and running. | + | Although the easiest way to get it running is using Xdebug's website [[http://xdebug.org/wizard.php|installation wizard]] that will help you determine what to do to get XDebug working on your system. Follow the simple instructions and you'll soon have XDebug installed and running. |
First refer to [[vms:webdev:apache#make_sure_everything_is_running as_expected|this section of the wiki]] to have PHP output it's configuration summary, and copy/paste it in the above mentioned [[http://xdebug.org/wizard.php|XDebug wizard]]. | First refer to [[vms:webdev:apache#make_sure_everything_is_running as_expected|this section of the wiki]] to have PHP output it's configuration summary, and copy/paste it in the above mentioned [[http://xdebug.org/wizard.php|XDebug wizard]]. | ||
Line 102: | Line 102: | ||
FcgidIOTimeout 300 | FcgidIOTimeout 300 | ||
... | ... | ||
+ | </code> | ||
+ | |||
+ | Don't forget to restart the apache2 service to apply those changes: | ||
+ | <code> | ||
+ | > service apache2 restart | ||
</code> | </code> | ||
===== Setting up Xdebug’s remote debug with PHPStorm ===== | ===== Setting up Xdebug’s remote debug with PHPStorm ===== | ||
Line 162: | Line 167: | ||
---- | ---- | ||
===== Setting up Xdebug’s remote debug with InteeliJ IDEA (14.1.1) ===== | ===== Setting up Xdebug’s remote debug with InteeliJ IDEA (14.1.1) ===== | ||
- | ---- | ||
=== PHP Remote Interpreter plugin: === | === PHP Remote Interpreter plugin: === | ||
Line 189: | Line 193: | ||
From top right icons menu of main IntelliJ IDEA's project window, use "down arrow" button (Select Run/Debug configuration), then "Edit configurations..."\\ | From top right icons menu of main IntelliJ IDEA's project window, use "down arrow" button (Select Run/Debug configuration), then "Edit configurations..."\\ | ||
+ | |||
+ | |||
+ | ===== Setting up Xdebug’s remote debug with Atom (1.12.5) ===== | ||
+ | |||
+ | ==== Install Package php-debug (0.2.4) ==== | ||
+ | * Open the Atom editor and open settings: Edit > Preferences (ctrl-,) | ||
+ | * Select "Install" from the left menu | ||
+ | * Type "php-debug" in Search packages field, then //return// to launch the search | ||
+ | * php-debug should appear on top of the list, click the "Install" button | ||
+ | * Read the README that is displayed | ||
+ | |||
+ | |||