代码之家  ›  专栏  ›  技术社区  ›  online Thomas

Docker远程解释器没有出现在最新的PhpStorm中

  •  0
  • online Thomas  · 技术社区  · 6 年前

    PhpStorm 2018.2.3版

    我尝试将xdebug与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
    

    enter image description here

    但是Docker作为远程PHP的选项从未出现。

    我甚至从PhpStorm通过TCP连接到Docker

    enter image description here enter image description here

    1 回复  |  直到 6 年前
        1
  •  3
  •   LazyOne    6 年前

    请确保您的 插件已启用。

    推荐文章