A
A
Anton Volkov2020-12-20 22:25:22
xdebug
Anton Volkov, 2020-12-20 22:25:22

Can't connect Xdebug to PHPStorm using Open Server Panel?

Sori, if I'm too stupid, I'm connecting for the first time. Downloaded php_xdebug-3.0.1-7.3-vc15-x86_64 and added it to the folder "OSPanel\modules\php\PHP_7.3-x64\ext"

Changed the following parameters in php.ini:
Added the line: zend_extension = c:\users\user \desktop\ospanel\modules\php\PHP_7.3-x64\ext\php_xdebug-3.0.1-7.3-vc15-x86_64.dll
Changed:
xdebug.default_enable = 1
xdebug.profiler_enable_trigger = 1
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000

I went to Languages ​​& Frameworks -> PHP and set the values:
5fdfa36d83fc8637843232.png
5fdfa38b31eb5165444074.png

I went to Edit Configuration and set the values:
5fdfa3bae45b6330590557.png

Restarted the server. I'm trying to use the debugger, I'm getting errors:
First:
5fdfa3ff21712376136296.png
After clicking on the link in it, another one appears:
5fdfa42480192357227207.png
The console shows this:
5fdfa444a0385476240922.png

Values ​​in Languages ​​& Frameworks -> PHP -> Debug:
5fdfa98b14fa7637581651.png

Attached are screenshots of phpinfo():
5fdfa4772ad07118817755.png
5fdfa4806b7c5944895343.png
5fdfa488780af345046606.png
5fdfa48e10684584527005.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DiSpoc, 2021-03-13
@DiSpoc

Privet , php.ini in openserver edit to 604cf4bb58a5b670902881.jpeg,
You can edit my configurations:

[sqlite3]

;sqlite3.defensive           = on
;sqlite3.extension_dir       = ""

[xdebug]
;zend_extension="C:\Users\Admin\...edit...\OpenServer\modules\php\PHP_7.2\ext\php_xdebug-3.0.2-7.2-vc15-x86_64.dll"
zend_extension=W:\modules\php\PHP_7.2\ext\php_xdebug-3.0.2-7.2-vc15-x86_64.dll
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1 # Not safe for production servers
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req xdebug.remote_autostart=true
xdebug.remote_autostart = 1

xdebug.mode=debug
xdebug.start_with_request = yes
xdebug.client_port = 9000
xdebug.client_host = localhost
xdebug.idekey = VSCODE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question