D
D
Dima Sokolov2016-12-08 20:46:46
phpstorm
Dima Sokolov, 2016-12-08 20:46:46

Phpstorm, how to make the script open in the browser when debugging?

Now, the script is executed step by step only in the console.
How can I debug the entire project, not just a single file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2016-12-08
@dimka11

You need to install a plug-in in the browser that will enable the debug mode (it is possible without a plug-in, but inconvenient).
For chrome, this is the Xdebug helper.
For Firefox, this is The easiest Xdebug.
Xdebug must be configured: https://www.jetbrains.com/help/phpstorm/2016.2/con...
After that, go to the page with the activated plugin, and debugging will start automatically.
It is not necessary to press Debug in PhpStorm, thus only console commands, tests, etc. are debugged.

-
----, 2016-12-08
@stalkerxxl

Live Edit (плагин для Шторма)?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question