DBGP not working with virtual host names

chinook
2011-09-09
2013-05-21
  • chinook
    chinook
    2011-09-09

    I cannot get the plugin to work with virtual host names I have set up on my local dev server. It breaks into debugger if I access the Website under http://localhost/path/to/application but not under http://mywebsite.com.local which is a virtual host name set up in Apache's httpd.conf. I am on Windows XP Professional, Notepad++ 5.9.3 and DBGP 0.0.12.21.

    This is my mapping configuration:

    Remove Server IP
    127.0.0.1 (also tried mywebsite.com.local here)
    IDE KEY: xdebug
    Remote Path: C:\Apache2\htdocs\path\to\application
    Local Path: C:\Apache2\htdocs\path\to\application

    Checked checkboxes:
    Refresh local context on every step
    Refresh global context on every step
    Break at first line when debugging starts

    I tried with both Bypass all mapping (local windows setup) checked and cleared.

    I need to use virtual host name to bootstrap the application I am working on so I don't have a choice in the matter.

    DBG button does not produce any output.

    Thank you in advance.

     
  • chinook
    chinook
    2011-09-11

    Please ignore this post. It was a false alarm. I had missed the step required to start a debug session (adding XDEBUG_SESSION_START=session_name as parameter to the URL)