Configuring phpStorm xDebug to use with 'local by Flywheel'
Howdy, community!
I'm aware that this question should rather be posted on the Flywheel forums; but I haven't found any help there. Trying my luck here. I'm sure we've some good number of 'Local by Flywheel' users here.
I installed their latest update 2.0.1 and things began going wrong; especially making it work with phpStorm. Here's what's happening:-
1. Local by Flywheel uses Virtualbox to configure the server. When the user starts the site, virtualbox is booted up.
2. The WordPress install remains on the host machine; inside say '/Local Sites/<sitename>' folder.
3. I've no way to configure the PHP interpreter. Yet, when I enable 'Listen to PHP Debug Connections', the execution stops at the breakpoint. However, the variables are automatically listed in alphabetical order. Earlier, they'd list the variables just above the breakpoint at the top. I've checked that the 'list variables alphabetically' option is turned off. I didn't touch it.
Question: I've no clue, why does this work without me configuring the php Interpreter. My biggest problem is - to get the variables to list properly; that is the variables just above the breakpoint should be listed on the top.
How do I get this to work again? Would really appreciate your responses and help. Thanks in advance!
请先登录再写评论。
Hello,
You do not need to configure a PHP interpreter for remote debugging - it is only used for local CLI scripts and running utilities such as Composer.
Remote debugging is established between PhpStorm itself and remote Xdebug. PhpStorm displays data (including variables) that comes from Xdebug.
How does it look for you exactly?