Editing
Xdebug.ini Configuration For XDebug Version 3
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Settings for XDebug version 3 on the Docker server are specified in `xdebug.ini`. <ref>[https://xdebug.org/docs/all_settings XDebug Settings] -- XDebug Docs</ref>, <ref>[https://xdebug.org/docs/upgrade_guide XDebug Upgrade Guide] -- XDeubg Docs</ref> <pre> zend.extension="/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so" xdebug.mode=debug xdebug.start_with_request=yes xdebug.remote_port=9003 xdebug.session="PHPSTORM" xdebug.remote_enable=1 xdebug.client_host=192.168.123.107 xdebug.remote_log="/tmp/xdebug.log" </pre> * `zend.extension` is the path to the xdebug library that is installed via `Dockerfile`. If the version of XDebug changes, this path will need to be updated to match the installed library file. * `xdebug.mode` enables XDebug. * `xdebug.start_with_request` starts the debugger. * `xdebug.remote_port` specifies the XDebug port. The default for XDebug version 3 is 9003. This must match the PHPStorm setting under '''Preferences''' > '''PHP''' > '''Debug''' > '''XDebug''' > '''Debug Port'''. (The default port for version 2 was 9000.) * `xdebug.session` specifies the IDE key used the IDE to connect to XDebug. This matches the ```IDE Key``` setting in PHPStorm's PHP Remote Debug Run Configuration. (`xdebug.session` replaces `xdebug.idekey` for XDebug 2.) * `xdebug.client_host` specifies the IP of the client running the IDE. (`xdebug.client_host` replaces `xdebug.remote_host` for XDebug 2.) See [[xdebug.ini Configuration For XDebug Version 2|xdebug.ini settings for XDebug version 2]] for legacy settings.
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information