首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法使用xdebug配置lando

我无法使用xdebug配置lando
EN

Stack Overflow用户
提问于 2019-11-28 06:27:18
回答 1查看 349关注 0票数 1

我正在尝试使用Lando Drupal站点设置Xdebug。我尝试了很多不同的lando配置,但无论我做什么,我都不能让xdebug出现在我的phpinfo中。我当前的配置是:

代码语言:javascript
复制
name: content-engine-1
recipe: pantheon
config:
  framework: drupal8
  site: content-engine-1
  id: bdfe297a-e96b-401d-b932-158854085e0e
  xdebug: true
  php: .lando.php.ini
services:
  appserver:
    xdebug: true
    overrides:
      environment:
        PHP_IDE_CONFIG: "serverName=appserver"

这是.lando.php.ini文件

代码语言:javascript
复制
xdebug.remote_enable=true
xdebug.remote_host="127.0.0.1"
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_log="/var/tmp/xdebug.log"
xdebug.remote_autostart=true

以下是phpinfo()的输出:phpinfo output

EN

回答 1

Stack Overflow用户

发布于 2020-03-17 20:06:47

基于文档https://docs.lando.dev/config/php.html#configuration,它应该是

代码语言:javascript
复制
name: content-engine-1
recipe: pantheon
config:
  framework: drupal8
  site: content-engine-1
  id: bdfe297a-e96b-401d-b932-158854085e0e
  xdebug: true
  config:
     php: .lando.php.ini
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59079279

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档