mac-cain13 / xdebug-helper-for-chrome

Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc
307 stars 97 forks source link

IDE key for Visual Studio Code (with PHP Debug installed) #89

Open Nick-Hope opened 6 years ago

Nick-Hope commented 6 years ago

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.

skyshab commented 6 years ago

Came here looking for information about VScode support as well.

vic278 commented 6 years ago

I believe it's VSCODE

BeingTomGreen commented 6 years ago

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
Githubbubber commented 4 years ago

Thanks all! Really appreciated.

iismaell commented 2 years ago

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
3dwebapps commented 1 year ago

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.

cmann90 commented 6 months ago

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: image