-
Notifications
You must be signed in to change notification settings - Fork 88
Description
I just started learning php this week and would like to try xdebug to debug.
I don't know about OO or classes yet so I thought phpstorm would be too complicated.
But i'm having a difficult time trying to run xdebug in sublime.
I have installed it on the computer but when I run the debugger the content and stack windows on the bottom are empty.
In the Xdebug Breakpoint window I can see the breakpoints are being understood.
I'm not sure if it's because I don't know how to use the debugger properly or if I have installed something incorrectly?
I set a breakpoint on my index.php page and my functions.php page but I don't see anything besides breakpoints being populated in the windows.
I've tried restarting the server and changing the port to 9001 but nothing seems to work.
Environment
Sublime Text
Operating system:
Installed version/build: Windows 10 Version 3.1.1 Build 3176
Server
Operating system: Windows 10 locally with apache
PHP/Xdebug version: PHP 7.3.1 with Xdebug v2.7.0beta1
Configuration
php.ini/xdebug.ini
[xdebug]
;zend_extension = php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll
zend_extension = C:\PHP7\ext\php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll
xdebug.remote_enable = 1
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"
xdebug.remote_mode = req
xdebug.remote_connect_back = 1
# ...Packages/User/Xdebug.sublime-settings
In the Packages/User/Xdebug all I see is:
*.sublime-project
{
"settings": {
"xdebug": {
"url": "http://localhost/measureConverter/",
}
}
}Logs
Console output:
Packages/User/Xdebug.log:
