diff --git a/Xdebug.py b/Xdebug.py index 2c59111..dbd953b 100644 --- a/Xdebug.py +++ b/Xdebug.py @@ -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() diff --git a/Xdebug.sublime-settings b/Xdebug.sublime-settings index 10cf2e8..545d710 100644 --- a/Xdebug.sublime-settings +++ b/Xdebug.sublime-settings @@ -1,4 +1,5 @@ { "breakpoint_scope": "xdebug.breakpoint", - "current_line_scope": "xdebug.current" + "current_line_scope": "xdebug.current", + "port": 9000 } \ No newline at end of file