How to do remote debug in PHPstorm with xdebug?

Let’s learn how to do remote debug in PHPstorm with xdebug. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

Debug VM with xDebug and PhpStorm

My work setup is a Windows XP host, running an Ubuntu VM LAMP stack. I am using PhpStorm to edit my code on my host Windows machine. Upon saving files are automatically uploaded to the VM via SFTP. Everything works for this process, except debugging. I have setup PhpStorm to have a server named "UbuntuVM" with the following settings: Debugger: - XDebug Debug session settings: - Break at the first line - Wait for connection with ide key: XDEBUG_PHPSTORM Before launch: - Upload files to...

Answer:

Comes to find out that xdebug.remote_host isn't needed, rather, use xbebug.remote_connect_back=1.

Read more

Andrew Ellis at Stack Overflow Mark as irrelevant Undo

Other solutions

Help me upgrade PHP on my MacOS X so I can run xDebug!

I want to upgrade the native version of PHP on my Macbook running MacOS X and I am not having much luck. Snowflakes inside... I am running through the Murach book "PHP/MySQL". In chapter 6 he goes over how to debug a PHP application using Netbeans...

Answer:

Try installing via this route, I've never tried compiling my own http://php-osx.liip.ch

Read more

dukes909 at Ask.Metafilter.Com Mark as irrelevant Undo

How should a PHP & WordPress beginner debug PHP?

As a novice developer using php in the context of WordPress, I would like to know the best ways (tools, workflows, or resources) to learn how to debug php, while also learning it (php/wordpress) at the same time. Something like xdebug or firephp seem...

Answer:

Don't learn PHP if you can avoid it. Learn Javascript, and Python and then Ruby as you have to. You...

Read more

Ciaran O'Donnell at Quora Mark as irrelevant Undo

How to debug php?

Basically I am asking how to run the site and set breakpoints in the code where I can analyze what its doing (something like in C# ASP IDE).. I am using mostly PhpStorm 3 at the moment. First time with php and apache. Nothing setup other than mysqli

Answer:

`xdebug` is a great tool for PHP development. It allows for code coverage analysis (when used with PHPunit...

Read more

Ben Weller at Quora Mark as irrelevant Undo

How do I make full use of Phpstorm when working in Laravel?

I am a new Laravel user. Everything is going great, I get the general idea. However from researching I found that if I use Phpstorm as my ide it can help me explore the framework more. I searched around and only found how to set the basic configurations...

Answer:

Install Laravel Plugin for PHPStorm (available from PHPStorm plugins menu),  barryvdh/laravel-ide-helper...

Read more

Vladislav Rastrusny at Quora Mark as irrelevant Undo

Visual Basic 2008 Debug problem?

Everytime I open up a new project, I can't debug no matter what I do. Even with the most basic Messagebox.show(), it will look like it's about to debug, but then it just stops and it's like if the window just closes itself and it doesn't debug. Anybody...

Answer:

Obvious question, but I'm assuming you have break points set?

Read more

Dude at Yahoo! Answers Mark as irrelevant Undo

Choose any tamagotchi with wiring (DEBUG METHOD)?

I know you CAN pick your own tamagotchi by pressing the button under the word DEBUG inside you tamagotchi connection. When I did this however, I was extremely dissapointed it didn't work. What I noticed was, when I pressed down on the circle, it didn...

Answer:

Thanks for answering my question. This is the fist I've heard of actually choosing your tamagotchi ...

Read more

Maple at Yahoo! Answers Mark as irrelevant Undo

Pick any tamagotchi DEBUG?

I know you CAN pick your own tamagotchi by pressing the button under the word DEBUG inside you tamagotchi connection. When I did this however, I was extremely dissapointed it didn't work. What I noticed was, when I pressed down on the circle, it didn...

Answer:

Did you check out that site for tamagotchi's yet? :) If you have tamagotchi connection, I think it said...

Read more

Maple at Yahoo! Answers Mark as irrelevant Undo

Visual studio 2010 debug help?

well after i run/debug/build my program it works!! but when i transfer it to other computer it wont!!! help i've created an installer of it and nothing would just work!! it works great on the lop top but not on the computer. and also i've tried winrar...

Answer:

A debug build links against different libraries, which are installed alongside your SDK. It sounds like...

Read more

Sora at Yahoo! Answers Mark as irrelevant Undo

What does error message (debug and unable to debug try later mean)?

When I restart my computer I get an automatic error message that says problem found debug computer, click no to retry and yes to manually do it later. Why does this problem occur and how can I fix it?

Answer:

What OS do you use? did you install any program before the problem starts?

Read more

SAME at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.