V
V
Valera Karmanov2020-02-20 09:05:13
PHP
Valera Karmanov, 2020-02-20 09:05:13

XDebug output per page?

Good afternoon. Tell me how to display XDebug on the page (judging by the article https://1st-network.ru/prog/xdebug ) in the php file you need to register the xdebug function to enable it and display xdebug messages. I can't figure out how to do this!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2020-02-20
@motokraft

In order for the XDebug extension to work, you need to enable it in the Php settings, this is done in the php.ini file, about which they write to you at the link. In the php.ini file, add the line zend_extension=full\path\to\php_xdebug.dll (this is for Windows systems) or zend_extension=xdebug.so on Linux systems.
If you do not have access directly to the php.ini file, such as hosting. Then many hosters provide various functionality for editing some parameters. You can also contact those. hosting support and ask to enable this extension for you, if possible.
But keep in mind that it is better not to enable this extension on a production server, it significantly loads the server and is used for debugging code.

A
Anton Shamanov, 2020-02-20
@SilenceOfWinter

you don’t need to go to the page, the whole point of the hdebug is just this, if I don’t keep it as you want, then try something like www.firephp.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question