Home Download Buy Blog Forum Support

SublimeTextXdebug [ST2/3]

SublimeTextXdebug [ST2/3]

Postby Martomo on Wed Jul 03, 2013 11:37 pm

I would like to share with you SublimeTextXdebug, a Xdebug debugger client integration for Sublime Text 2 and 3.
Which allows you to debug PHP scripts via Xdebug (DBGp) protocol within Sublime Text.

For more information and source:
https://github.com/martomo/SublimeTextXdebug
Martomo
 
Posts: 4
Joined: Wed Jul 03, 2013 11:29 pm

Re: SublimeTextXdebug [ST2/3]

Postby layne on Thu Jul 04, 2013 7:15 am

Looks really nice.
I'll try it out.

Just one thing: You can't define different URLs for different Projects?
The debug URL, port, IDE key and path mapping are defined in your Xdebug.sublime-settings file like this:

Or is it possible to configure this inside the project settings too?
// my Blog //
layne
 
Posts: 39
Joined: Tue Jan 04, 2011 3:00 pm
Location: NRW // GER

Re: SublimeTextXdebug [ST2/3]

Postby Martomo on Thu Jul 04, 2013 8:40 am

layne wrote:Just one thing: You can't define different URLs for different Projects?
The debug URL, port, IDE key and path mapping are defined in your Xdebug.sublime-settings file like this:

Or is it possible to configure this inside the project settings too?


You can also define the URL, port, IDE key and path mapping for each project.
Configure it under the 'xdebug' key in your .sublime-project file, as shown below.

Code: Select all
{
    "folders":
    [
        {
            "path": "..."
        },
    ],

    "settings": {
        "xdebug": {
            "path_mapping": {
                "/path/to/file/on/server" : "/path/to/file/on/computer",
                "/var/www/htdocs/example/" : "C:/git/websites/example/"
            }
            "ide_key": "your_custom_ide_key",
            "url": "http://your.web.server",
            "port": 9000
        }
    }
}
Martomo
 
Posts: 4
Joined: Wed Jul 03, 2013 11:29 pm

Re: SublimeTextXdebug [ST2/3]

Postby Martomo on Wed Jul 10, 2013 6:59 am

This package has been added to the Package Control repository under the name Xdebug Client.
Martomo
 
Posts: 4
Joined: Wed Jul 03, 2013 11:29 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 16 guests