Sublime Forum

Xdebug not debugging

#1

I’ve installed Xdebug, but I can’t get it to debug my programs. I’m a newbie to programming (1st semester in Co. Sci. degree program), and I need to be able to debug in Sublime (per my instructor). I’ve found instructions on setting Xdebug protocol functionality in SublimeXdebug package by Kindari. I’ve added the code into the Xdebug.sublime-settings tab, but I can’t seem to find the *.sublime-project tab.

Any ideas?

I’m using a OS X 10.9

Xdebug.sublime-settings

{
“path_mapping”: {
“/absolute/path/to/file/on/server” : “/absolute/path/to/file/on/computer”,
“/var/www/htdocs/example/” : “C:/git/websites/example/”
},
“url”: “http://your.web.server/index.php”,
“super_globals”: true,
“close_on_stop”: true
}
*.sublime-project

{
“folders”:

    {
        "path": "..."
    }
],
"settings":
{
    "xdebug": {
        "path_mapping": {
            "/absolute/path/to/file/on/server" : "/absolute/path/to/file/on/computer",
            "/var/www/htdocs/example/" : "C:/git/websites/example/"
        },
        "url": "http://your.web.server/index.php",
        "super_globals": true,
        "close_on_stop": true
    }
}

}

0 Likes