title: How can I debug my docker container with phpStorm
body: <p>Under the following IP my Container run successful in my Webbrowser</p>
  
  <p><a href="http://192.168.99.100:32775">http://192.168.99.100:32775</a></p>
  
  <p>I have also create a volume to share files between my container and my filesystem</p>
  
  <pre><code>docker run --name lampf -d -p 32775:80 -v /Users/sja/Sites/lamkepf2:/var/www/html --link=lampf_db:db codinglimo/apache_php540_gs_imgmck_pdflib9
  </code></pre>
  
  <p>Now I install also xDebug successful in my container with the following xdebug.ini</p>
  
  <pre><code>zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
  
  xdebug.remote_enable=on
  xdebug.remote_host=127.0.0.1
  xdebug.remote_port=9000
  xdebug.remote_handler=dbgp
  xdebug.profiler_enable=0
  xdebug.profiler_output_dir="/temp/profiledir"
  </code></pre>
  
  <p>PHPStorm is also configured</p>
  
  <p><a href="http://img2.picload.org/image/iowdpww/xdebug.png">http://img2.picload.org/image/iowdpww/xdebug.png</a></p>
  
  <p>But my Breakpoints in my index.php are ignored?
  What is my mistake?</p>
  
  <p><strong>Problem is solve with help from Sergey</strong></p>
  
  <p>My new xdebug.ini</p>
  
  <pre><code>zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
  
  xdebug.remote_enable=on
  #xdebug.remote_host=127.0.0.1
  xdebug.remote_port=9000
  xdebug.remote_connect_back=On
  xdebug.remote_handler=dbgp
  xdebug.profiler_enable=0
  xdebug.profiler_output_dir="/temp/profiledir"
  </code></pre>