vscode+phpstudy2018
时间: 2023-08-16 10:08:01 浏览: 119
配置xdebug的步骤是怎样的?
回答: 配置xdebug需要进行以下几个步骤:首先,安装好VSCode和phpStudy2018,在本地服务器的www目录下创建phpinfo.php文件,并写入代码`<?php phpinfo(); ?>`。其次,下载VSCode相关扩展,并确保phpStudy2018自带了xdebug.dll文件。然后,在VSCode中打开设置(文件->首选项->设置),搜索"setting.json",在配置中添加以下两行代码:
"php.debug.executablePath": "E:\\phpStudy\\PHPTutorial\\php\\php-7.2.1-nts\\php.exe",
"php.validate.executablePath": "E:\\phpStudy\\PHPTutorial\\php\\php-7.2.1-nts\\php.exe"。这样就完成了xdebug的配置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [记录VSCode+phpStudy2018安装Xdebug开启PHP断点调试步骤](https://blog.csdn.net/littlebra/article/details/126791966)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [记录2018版本phpstudy+vscode环境搭建xdebug](https://blog.csdn.net/qq975353472/article/details/109686574)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文