嗨 Visual studio 只允许我在 .php 文件上放置 xdebug 断点,但不允许在 .module 文件上放置 xdebug 断点。我需要更改一些配置吗?谢谢你
尝试使用
{ “文件.关联”:{ “*.module”:“php” } }
另一个 - 不太好 - 选项是转到设置文件 -> 首选项 -> 设置 -> 调试 ->debug.allowBreakpointsEverywhere 并设置为 true。