Proper instructions for setting up xdebug for simple scripts

Coming from Komodo, this is infinitely frustrating. I somehow figured out how to debug my web app (don't ask me to repeat the steps). 

Now I simply want to step through a Hello World script. Why is this so difficult?

Wading through project vs global prefs, something ambiguously called "configurations", some sort of separate 'host' settings sometimes referred to as 'servers' and a UI that wedges if I hit the wrong button, I am not able to run a local script through the debugger. At best, it fires off a browser window, which I don't want. 

Komodo simply asks where your cli binary and xdebug config are and you're done. 

I've been through the docs. I came across something pretty close, but it was already outdated and didn't reflect the current UI. 

Where can I find clear documentation on this overly complex xdebug setup?

Thanks!

0

Hi there,

Here are the official tutorials/articles (they cover different aspects): https://confluence.jetbrains.com/display/PhpStorm/Debugging+with+PhpStorm

There is a video that covers different kinds of debug: web, local CLI, remote

Even though some of them are using older settings structure (v9 and older) .. debug settings are still pretty easy to find (search box is available).

0
Avatar
Permanently deleted user
0

请先登录再写评论。