This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
web:eclipse [2024/05/23 05:54] – Bernard Condrau | web:eclipse [2024/10/31 14:32] (current) – [Settings] Bernard Condrau | ||
---|---|---|---|
Line 28: | Line 28: | ||
* [[https:// | * [[https:// | ||
- | ==== XDebug for PHP 7.2 ==== | ||
- | To activate the debugger, you need to add the following lines to the bottom of x:/ | ||
- | [XDebug] | ||
- | zend_extension = " | ||
- | xdebug.remote_autostart = 1 | ||
- | xdebug.profiler_append = 0 | ||
- | xdebug.profiler_enable = 0 | ||
- | xdebug.profiler_enable_trigger = 0 | ||
- | xdebug.profiler_output_dir = " | ||
- | ; | ||
- | xdebug.remote_enable = 1 | ||
- | xdebug.remote_handler = " | ||
- | xdebug.remote_host = " | ||
- | xdebug.remote_log = " | ||
- | xdebug.remote_port = 9000 | ||
- | xdebug.trace_output_dir = " | ||
- | xdebug.remote_cookie_expire_time = 36000</ | ||
- | * Other options can be left at default values. Check the settings have been recognized by checking phpinfo. | ||
- | * XAMPP does not contain the correct php_xdebug.dll, | ||
- | * Make sure you have Visual C++ 2017 installed. | ||
- | * Download and install: [[https:// | ||
- | * Check phpinfo: [[https:// | ||
- | |||
- | ==== 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 95: | 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 |