Skip to content

Error starting php debug #25

Open
Open

Description

@n3f

script:

<?php

phpinfo();

command:

:Dbg http://localhost/phpinfo.php

Error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/vim_debug/commands.py", line 19, in debugger_cmd
    return start(*shlex.split(plain))
  File "/usr/local/lib/python2.7/dist-packages/vim_debug/commands.py", line 92, in start
    debugger.start_url(url)
  File "/usr/local/lib/python2.7/dist-packages/vim_debug/new_debugger.py", line 103, in start_url
    return self.start()
  File "/usr/local/lib/python2.7/dist-packages/vim_debug/new_debugger.py", line 130, in start
    if not self.bend.connect():
  File "/usr/local/lib/python2.7/dist-packages/vim_debug/dbgp.py", line 86, in accept
    serv.bind(('', self.options.get('port', 9001)))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use  

I have xdebug configured to run on port 9001, so I changed dbg.py to use that port. (I don't know if there is a vim configuration variable to change this, but I don't think that this is the problem. I'm running vim 7.4.

Activity

  1. jaredly commented on Mar 9, 2014

    @jaredly
    Owner

    Looks like you have xdebug running already... or something is already
    listening on that port, so there's a conflict.

    On Fri, Mar 7, 2014 at 9:02 AM, n3f notifications@github.com wrote:

    script:

    ", line 1, in File "/usr/local/lib/python2.7/dist-packages/vim_debug/commands.py", line 19, in debugger_cmd return start(_shlex.split(plain)) File "/usr/local/lib/python2.7/dist-packages/vim_debug/commands.py", line 92, in start debugger.start_url(url) File "/usr/local/lib/python2.7/dist-packages/vim_debug/new_debugger.py", line 103, in start_url return self.start() File "/usr/local/lib/python2.7/dist-packages/vim_debug/new_debugger.py", line 130, in start if not self.bend.connect(): File "/usr/local/lib/python2.7/dist-packages/vim_debug/dbgp.py", line 86, in accept serv.bind(('', self.options.get('port', 9001))) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(_args) socket.error: [Errno 98] Address already in use I have xdebug configured to run on port 9001, so I changed dbg.py to use that port. (I don't know if there is a vim configuration variable to change this, but I don't think that this is the problem. I'm running vim 7.4. ## Reply to this email directly or view it on GitHubhttps://github.com//issues/25 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions