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 VSCODE? #104

Open deraeler opened 4 years ago

deraeler commented 4 years ago

What should the IDE_KEy value be - I presume I should select "other" and provide some value - what is it?
Since VSCODE isn't supported natively I guess - its not a listed option.

I"m one of the bqazillions of people on the web who can't get breakpoints to work in VSCODE with XDEBUG, in my case on UBUNTU 16.04.

It's truly mind boggling how little support there is out there for these tools. I've spent weeks trying to get this working, and have nothing to show for it. VSCODE acts like i'ts debugging, the comunication shows up in the console, but breakpoints dont work and the Step buttons are disabled - only the Reset, Stop and Pause buttons are active.

Your extension toggles green, but as mentioned the code never stops in the debugger - it just runs to completion and ignores all breakpoints.

deraeler commented 4 years ago

Hello? Is this thing on???

derickr commented 4 years ago

It doesn't really matter what you set as IDEKEY. Xdebug only cares about it when you have to use a dbgp Proxy, and almost nobody does.

luisbatista commented 3 years ago

Hello,

I have same problem to use Xdebug v3.0.0 + PHP 7.3 + VisualStudio Code. After hours and a couple of tests I put this to work.

On php.ini I added:

xdebug.idekey=VSCODE

Back to the Xdebug Helper settings (IDE key: choose 'Other') and added the Key I put in the php.ini. After reboot server, the debug works!

Best regards, LB