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 [2025/06/23 14:04] (current) – [Java] Bernard Condrau | ||
---|---|---|---|
Line 11: | Line 11: | ||
< | < | ||
+ | |||
+ | ===== WSL Settings ===== | ||
+ | - To change the default setting of WSL (WSL1/WSL2) to allow file permissions on mounted Windows drives add the file '' | ||
+ | options=" | ||
+ | - Stop wsl from the Windows command line:< | ||
+ | - Start wsl from the Windows command line:< | ||
+ | - Check wsl instances from the Windows command line:< | ||
===== LAMP with Xdebug ===== | ===== LAMP with Xdebug ===== | ||
Line 16: | Line 23: | ||
===== Eclipse IDE ===== | ===== Eclipse IDE ===== | ||
+ | |||
+ | ==== PHP ==== | ||
+ | * Make sure '' | ||
==== Java ==== | ==== Java ==== | ||
Line 28: | Line 38: | ||
* [[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 68: | ||
- 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 |