title: Debugging not starting
body: <p><strong>UPDATE:</strong></p>
  
  <p>I've spent way too much time on this and have decided to ditch it and continue using the clunky NetBeans.</p>
  
  <p><strong>ORIGINAL QUESTION:</strong></p>
  
  <p>I'm having some difficulty getting xdebug to work with sublime text 2.</p>
  
  <p>What I have done so far is install:</p>
  
  <ol>
  <li>LAMP,</li>
  <li>php5-xdebug</li>
  <li>python2.6</li>
  <li>sublime-text-2</li>
  <li>sublimexdebug</li>
  </ol>
  
  <p>If I then use sublime to open a php file and press shift+f8, the xdebug menu pops up from which I can <code>add/remove breakpoint</code> and also <code>start debugging</code>.</p>
  
  <p>Some php:
  <img src="https://i.stack.imgur.com/Kr1ul.png" alt="Some php"></p>
  
  <p>Menu drops down when I press shift+f8:
  <img src="https://i.stack.imgur.com/plpJH.png" alt="Menu drops down when I press shift+f8"></p>
  
  <p>Debugging started:</p>
  
  <p><img src="https://i.stack.imgur.com/LkQnd.png" alt="enter image description here"></p>
  
  <p>In that image it says:</p>
  
  <pre><code>Xdebug: No URL defined in project settings file
  </code></pre>
  
  <p>Info.sublime-project contains:</p>
  
  <pre><code>{
      "folders":
      [
          {
              "path": "/var/www"
          }
      ],
  
      "settings": {
          "xdebug": { "url": "http://localhost" }
      }
  }
  </code></pre>
  
  <p>As you can see from the 3rd screenshot, I have started debugging and nothing happens, no errors, no browser window opens, nothing.  If I manually navigate to <code>localhost/info.php</code>, the page loads as normal.  If I manually add <code>?XDEBUG_SESSION_START=sublime.xdebug</code> to the end of the url so <code>localhost/info.php?XDEBUG_SESSION_START=sublime.xdebug</code> and hit refresh on the browser, the page loads as normal and debugging still doesn't start.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>UPDATE: Some info about ports:</strong></p>
  
  <p>Before trying to start xdebug via sublime text 2</p>
  
  <pre><code>oshirowanen@ubuntu:~$ netstat -antp
  (Not all processes could be identified, non-owned process info
   will not be shown, you would have to be root to see it all.)
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               
  tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -               
  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                 
  tcp        0      0 90.190.20.220:54913     90.180.80.70:443        ESTABLISHED 2439/python     
  tcp        0      0 90.190.20.220:51727     190.40.210.160:443      TIME_WAIT   -               
  tcp        1      0 90.190.20.220:50967     90.180.90.20:80         CLOSE_WAIT  2349/ubuntu-geoip-p
  tcp6       0      0 :::80                   :::*                    LISTEN      -               
  oshirowanen@ubuntu:~$ 
  </code></pre>
  
  <p>After starting chromium manually and starting xdebug via sublime text 2</p>
  
  <pre><code>oshirowanen@ubuntu:~$ netstat -antp
  (Not all processes could be identified, non-owned process info
   will not be shown, you would have to be root to see it all.)
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 0.0.0.0:17500           0.0.0.0:*               LISTEN      2241/dropbox    
  tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               
  tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -               
  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -               
  tcp        0      0 127.0.0.1:59424         127.0.0.1:80            ESTABLISHED 2924/chromium-brows
  tcp        0      0 127.0.0.1:43123         127.0.0.1:9000          ESTABLISHED -               
  tcp        0      0 127.0.0.1:9000          127.0.0.1:43123         ESTABLISHED 2903/sublime_text
  tcp        0      0 90.190.20.220:40809     170.190.40.70:443       ESTABLISHED 2924/chromium-brows
  tcp        0      0 90.190.20.220:54913     90.180.80.70:443        ESTABLISHED 2439/python     
  tcp        0      0 90.190.20.220:43900     170.190.70.90:443       ESTABLISHED 2924/chromium-brows
  tcp        0      0 90.190.20.220:35259     170.190.70.100:443      ESTABLISHED 2924/chromium-brows
  tcp        0      0 127.0.0.1:59426         127.0.0.1:80            TIME_WAIT   -               
  tcp        0      0 90.190.20.220:37922     170.190.70.90:443       ESTABLISHED 2924/chromium-brows
  tcp        1      0 90.190.20.220:50967     90.180.90.20:80         CLOSE_WAIT  2349/ubuntu-geoip-p
  tcp        0      0 90.190.20.220:40847     170.190.40.60:80        ESTABLISHED 2924/chromium-brows
  tcp6       0      0 :::80                   :::*                    LISTEN      -               
  tcp6       0      0 127.0.0.1:80            127.0.0.1:59423         TIME_WAIT   -               
  tcp6       0      0 127.0.0.1:80            127.0.0.1:59424         ESTABLISHED -               
  oshirowanen@ubuntu:~$ 
  </code></pre>