phpstorm - Xdebug 忽略浏览器插件并总是触发
问题描述
当我在 PhpStorm 中打开侦听器并设置断点时,Xdebug 工作得很好,但我正在尝试使用浏览器插件,您可以通过它来切换似乎不起作用的 xdebug。即使未设置浏览器 cookie PHPSTORM,也会触发 Xdebug。
设置:
Laradock on mac
PhpStorm
PHP 7.1.16
Xdebug 2.6.0
我这样配置xdebug:
xdebug.remote_enable=1
xdebug.remote_connect_back=off
xdebug.remote_host=10.254.254.254
xdebug.remote_port=9005
xdebug.remote_autostart=off
xdebug.idekey=PHPSTORM
xdebug.max_nesting_level=1500
xdebug.cli_color=1
xdebug.profiler_enable=0
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.var_display_max_children=-1
xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1
解决方案
推荐阅读
- c - 指针操作:为什么这条抽象线不起作用?
- node.js - 我什么时候应该构建一个仅在内部使用的全栈项目。(没有网络连接)
- jquery - JQUERY/AJAX 将数据附加到特定行的末尾而不是表的底部
- swift - 使用按钮在不同选项卡上的视图控制器之间切换(self.tabBarController?.selectedIndex = 1 不起作用)
- python - 如何将while循环变成函数
- numpy - numpy - Z[[1, 2],[1]] 与 Z[(1,2),(1)] 完全一样吗?
- c# - 从字符串中获取最后一组数字的正则表达式
- node.js - 如何在 .httaccess 上使用端口 127.0.0.1:8000 运行 127.0.0.1?
- r - 通过R中的两个值使用增量数据获取数据框
- python - 用 matplotlib 用 3 列数据绘制 3D 表面