PhpStorm 2018.2.3
I try to use xdebug with PhpStorm
Dockerfile
FROM php:7.0-apache
RUN pecl install -o -f redis
RUN pecl install -o -f xdebug
RUN docker-php-ext-enable redis
RUN docker-php-ext-enable xdebug
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN apt-get update
RUN apt-get install locales-all -y
But the option for Docker as remote PHP never shows up.
I'm even connected to Docker over TCP from PhpStorm
Please ensure that your PHP Docker plugin is enabled.
That plugin is responsible for adding Docker support in PHP Interpreters section.