This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
web:eclipse [2024/05/23 06:27] – [XDebug for PHP 7.2] Bernard Condrau | web:eclipse [2024/10/31 14:32] (current) – [Settings] Bernard Condrau | ||
---|---|---|---|
Line 29: | Line 29: | ||
- | ==== XDebug for PHP 5.6 ==== | ||
- | To activate the debugger, you need to add the following lines to the bottom of x:/ | ||
- | [Xdebug] | ||
- | zend_extension=H: | ||
- | xdebug.remote_enable = 1 | ||
- | xdebug.remote_port = 9000 | ||
- | xdebug.trace_output_dir = " | ||
- | Other options can be left at default values. Check the settings have been recognized by checking phpinfo. xampp comes with the correct php_xdebug.dll file already located in x:/ | ||
- | |||
- | === Links === | ||
- | * [[https:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
==== JavaScript ==== | ==== JavaScript ==== | ||
Line 72: | Line 58: | ||
- Add or Edit **Debug Configurations...**. If you pointed the DocumentRoot to your workspace, then you can leave the URL on "Auto Generate", | - Add or Edit **Debug Configurations...**. If you pointed the DocumentRoot to your workspace, then you can leave the URL on "Auto Generate", | ||
- **Window --> Preferences --> PHP --> Code Style --> Formatter**. Select "PHP Conventions" | - **Window --> Preferences --> PHP --> Code Style --> Formatter**. Select "PHP Conventions" | ||
+ | - **Window --> Preferences --> General --> Editors --> Text Editors**. Uncheck "Use find/ | ||
- If you have existing projects | - If you have existing projects | ||
* either select the project directory as workspace when first starting up the new eclipse, or | * either select the project directory as workspace when first starting up the new eclipse, or |