Open Nick-Hope opened 6 years ago
Came here looking for information about VScode support as well.
I believe it's VSCODE
I too hit this issue, and xdebug.idekey was the final piece to get this working, here's the full config I've used, but please note I'm debugging a remote Xdebug instance.
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.idekey = VSCODE
Thanks all! Really appreciated.
On version 3.0.1, xdebug.remote_port should be set to 9003 by default.
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=true
xdebug.remote_cookie_expire_time = 3600
xdebug.client_host=localhost
xdebug.client_port = 9003
xdebug.idekey=VSCODE
I'd like to give an update on my recent experience setting up XDebug v3.1.6 with PHP 7.4.33. I'm using the XDebug's own VSCode extension (i.e. PHP Debug by XDebug), and the default IDE key is VSC. The key can be found and updated in VSCode under File > Preference > Settings > Extensions > PHP Debug > Ide Key.
I'd like to give an update on my recent experience setting up XDebug v3.1.6 with PHP 7.4.33. I'm using the XDebug's own VSCode extension (i.e. PHP Debug by XDebug), and the default IDE key is VSC. The key can be found and updated in VSCode under File > Preference > Settings > Extensions > PHP Debug > Ide Key.
This seems to be outdated. I don't get any extension settings:
Does anybody know what the custom IDE key for Visual Studio Code (vscode) would be with PHP Debug installed? If we can establish if one exists and what it would be, perhaps this could be added as a standard option in the drop-down menu in the Xdebug helper settings.