Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Made port configurable in Xdebug.sublime-settings or inside projects, F…
Browse files Browse the repository at this point in the history
…ixes #20
  • Loading branch information
Kindari committed Jun 20, 2012
1 parent 0969e35 commit 54d6b31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Xdebug.py
Expand Up @@ -38,7 +38,7 @@ class Protocol(object):
'''

read_rate = 1024
port = 9000
port = get_project_setting('port') or get_setting('port') or 9000

def __init__(self):
self.clear()
Expand Down
3 changes: 2 additions & 1 deletion Xdebug.sublime-settings
@@ -1,4 +1,5 @@
{
"breakpoint_scope": "xdebug.breakpoint",
"current_line_scope": "xdebug.current"
"current_line_scope": "xdebug.current",
"port": 9000
}

0 comments on commit 54d6b31

Please sign in to comment.