title: Debug PHP cli application inside docker with PhpStorm
body: <p>I have troubles with setting up debugging php cli application. I work on Mac OS and I have here Vagrant with Ubuntu inside, and inside this Ubuntu I have docker. So one of the docker containers runs my php application, where the PHP interpreter lives.</p>
  
  <p>Before (when the application was exactly in Vagrant machine) I was using this command to debug my cli applications, but now it does not work.:</p>
  
  <blockquote>
    <p>export XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9000 remote_host=192.168.10.10 remote_connect_back=0"</p>
  </blockquote>
  
  <p>How can I set up PhpStorm to debug my php cli app ?</p>