简体   繁体   English

当我在VSCode中启动调试器来调试php文件时,没有任何调试操作?

[英]No debugging action when I start debugger in VSCode to debug a php file?

  1. I installed the PHP debug in VSCode. 我在VSCode中安装了PHP debug
  2. Overwrote the php.validate.executablePath . 改写了php.validate.executablePath
  3. Downloaded and put the xdebug.dll in /php/ext and added relevant settings to php.ini . 下载xdebug.dll并将其xdebug.dll /php/ext ,并将相关设置添加到php.ini However,when I tag breakpoints and start XDebug, VSCode has no debugging action. 但是,当我标记断点并启动XDebug时,VSCode没有调试动作。 Why is this? 为什么是这样?

已解决。在管理员模式下重新启动apache服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VSCodium (VSCode) 不开始调试 PHP (PHP Debug + Xdebug, Linux) - VSCodium (VSCode) doesn't start debugging PHP (PHP Debug + Xdebug, Linux) Zend PHP调试器:如何使用get参数开始调试页面? - Zend PHP debugger: How can I start debugging a page using a get argument? 使用Zend Debugger调试PDT项目时,如何强制Eclipse产生始终相同的DEBUG_SESSION_ID GET参数? - How can I force Eclipse to produce always the same DEBUG_SESSION_ID GET parameter when debugging PDT project with Zend Debugger? Xdebug 无法连接到客户端,从哪里开始调试调试器? - Xdebug unable to connect to client, where do I start debugging the debugger? Xdebug + VSCode + PHP + WampServer:调试开始时未命中断点 session - Xdebug + VSCode + PHP + WampServer : breakpoint not hit on start of debug session 将VSCode与PHP一起使用(七)Ubuntu中的调试器 - Using VSCode with PHP (7) Debugger in Ubuntu 使用 VSCode 和 Docker 调试 PHP - Debug PHP with VSCode and Docker 如何定义 PHP object 在使用 XDebug 调试时如何在 VSCode 中显示? - How to define how a PHP object will be shown in VSCode when debugging with XDebug? 使用 Docker 和 WSL2 在 VSCode 中调试 PHP 时出现问题 - Issues when Debugging PHP in VSCode using Docker and WSL2 XDebug 在 VScode 中无法进行 php 调试 - XDebug not working in VScode for php debugging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM