Sorry, I don't want to collect debug info because there is a solution found already.
Problem
When xDebug enabled and run any drush command always get error messags:
XDebug could not open the remote debug file '/tmp/xdebug-remote.log'.
Reasons
/tmp/php5-xdebug.log not exists until you start debugging session in IDE and reload page in browser. Only then this file will be created.
When I enable xDebug and run any drush command (which is CLI) I got this error.
Solution
Source: geerlingguy/drupal-vm#1813
In Dockerfile you can append this to a RUN command
# xdebug cannot write to it's log
&& touch /tmp/php-xdebug.log \
&& chown www-data:www-data /tmp/php-xdebug.log \
&& chmod 666 /tmp/php-xdebug.log
Could you please add this temp file creation to Dockerfile?