xdebug-helper-for-chrome icon indicating copy to clipboard operation
xdebug-helper-for-chrome copied to clipboard

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

Open Nick-Hope opened this issue 7 years ago • 8 comments

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.

Nick-Hope avatar Dec 18 '17 10:12 Nick-Hope

Came here looking for information about VScode support as well.

skyshab avatar Mar 10 '18 23:03 skyshab

I believe it's VSCODE

vic278 avatar Mar 30 '18 04:03 vic278

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

BeingTomGreen avatar Aug 15 '18 21:08 BeingTomGreen

Thanks all! Really appreciated.

Githubbubber avatar Dec 16 '19 19:12 Githubbubber

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

iismaell avatar Oct 12 '21 10:10 iismaell

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.

3dwebapps avatar Apr 04 '23 01:04 3dwebapps

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

cmann90 avatar Feb 19 '24 12:02 cmann90