sudar
March 31, 2017, 6:44am
1
I am using the latest version of PhpStorm and the one click ‘Configure xDebug in PhpStorm’ button in xDebug add-on is not doing anything for me.
I have read in this forumn that it will create a new run config, but it is not doing it for me.
Can someone please post the actual config that it created so that I can create it manually in PhpStorm?
Just encountered the same issue - did work before - dunno when it stopped working though
sudar
May 3, 2017, 3:09pm
3
Hello @quasel ,
Good to know that I am not the only one who was facing this issue.
So when it was working for you earlier, what did it actually do for you?
well just that one click and php storm was configured and ready for the remote Xdebug connection - not that hard to do manually - just convenient
sudar
May 3, 2017, 4:14pm
5
Hello @quasel
If you still have that configuration that was automatically created in PhpStorm then can you please share it?
I haven’t seen it before and want to know what configuration FlyWheel automatically creates.
clay
May 4, 2017, 8:14pm
6
Hi all,
The Xdebug configuration is placed in the app/public
folder for the site so you’ll need to make sure you use public
as your PhpStorm project folder.
1 Like
sudar
May 5, 2017, 4:55am
7
Thanks @clay
It definitely makes sense now and I can see the config file created inside app/public/.idea
folder. I was using custom mapping and that’s the reason why it was not available earlier.
oh that makes sort of sense
hi!
Can you please write the Step by Step giude to enable XDebug with this configuration in PHP Storm?
I’ve added new Project from Existing file in my Local Sites/websitename/app/public folder. I choose first scenario and set my public directory as project root and my .dev URL
But I can’t find the config file in my app/public/.idea
clay
May 16, 2017, 4:52pm
10
Hi Arkadiy,
Are you on Mac or Windows?
Can you please share your giude for Mac
Could you please share the steps for Mac?
By clicking on the Configure button, I could see a file being created here - .idea/runConfigurations/Local-By-Flywheel.xml
But do I have to have anything set up under Edit Configurations
in my PHPStorm?
Were you able to run the debugger on PHPStorm?
clay
November 28, 2017, 5:54pm
15
Hi all,
Here are the high-level instructions on how to use Xdebug with Local:
Make sure that the Xdebug + IntelliJ add-on is enabled in Local. Go to Preferences » Add-ons to check.
Go to the site you wish to use Xdebug with
Go to the Utilities tab
Click on Configure PhpStorm and IntelliJ IDEs
Open up that site’s public
folder in PhpStorm
You should then see a “Local by Flywheel” configuration for Xdebug
Set any breakpoints you wish to check and then click on the bug icon to start debugging.
1 Like