Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nick-Hope opened this issue Dec 18, 2017 · 7 comments
Open

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

Nick-Hope opened this issue Dec 18, 2017 · 7 comments

Comments

@Nick-Hope
Copy link

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
Copy link

skyshab commented Mar 10, 2018

Came here looking for information about VScode support as well.

@vic278
Copy link

vic278 commented Mar 30, 2018

I believe it's VSCODE

@BeingTomGreen
Copy link

BeingTomGreen commented Aug 15, 2018

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
Copy link

Thanks all! Really appreciated.

@iismaell
Copy link

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
Copy link

3dwebapps commented Apr 4, 2023

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
Copy link

cmann90 commented Feb 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants