title: Debug Symfony CLI application with PhpStorm inside Docker container
body: <p>My current setup involve PhpStorm IDE in which I have imported Symfony 3 projects which is basically CLI tool. On the host machine I don't have PHP installed so I'm running the application from Docker container which has PHP and Xdebug installed.</p>
  
  <p>I don't have issues to debug web applications from Docker containers but with Symfony and this CLI tool it seems a little bit more tricky.</p>
  
  <p>My question is how to properly set this up and debug it from PhpStorm? I tried to create a new debug configuration (PHP Remote Debug) but breakpoints are not trigged.</p>