Answer the question
In order to leave comments, you need to log in
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:
I went to Edit Configuration and set the values:
Restarted the server. I'm trying to use the debugger, I'm getting errors:
First:
After clicking on the link in it, another one appears:
The console shows this:
Values in Languages & Frameworks -> PHP -> Debug:
Attached are screenshots of phpinfo():
Answer the question
In order to leave comments, you need to log in
Privet , php.ini in openserver edit to ,
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 questionAsk a Question
731 491 924 answers to any question