B
B
bernex2014-09-10 21:35:32
phpstorm
bernex, 2014-09-10 21:35:32

How to debug variables in PHPStorm?

For example, I want to put a breakpoint in any file ... Then reload the tab in the browser and debug it in the IDE, but I have OpenServer installed. I am writing a WordPress plugin.
How to do this right?
It turns out that only the folder with the plugin is open in the environment, when it changes, it is synchronized with the folder in WP and copied there. And the WP code itself is included as an external library.
In general, how do you debug such projects.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2014-09-10
Protko @Fesor

xdebug, phpdbg (the last one comes in php 5.6 out of the box).

O
OnYourLips, 2014-09-11
@OnYourLips

The official instruction, according to which everything is simply and quickly configured: confluence.jetbrains.com/display/PhpStorm/Zero-con...

N
Natalia Andriets, 2014-09-11
@tashik

configure xdebug, set environment, set breakpoints and run

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question