首页 > 作文

phpStudy vscode 搭建debug调试的教程详解

更新时间:2023-04-08 22:01:56 阅读: 评论:0

下载地址

phpstudy:
vscode: 设置
phpstudy版本:7.3.4nts

[xdebug]zend_extension=d:/phpstudy_pro/extensi奋斗目标ons/php/php7.3.4nts/ext/php_xdebug.dllxdebug.collect_params=1xdebug.collect_return=1x函数可微的条件debug.auto_trace=onxdebug.trace_output_dir=d:/phpstudy_pro/extensions/php_log/php7.3.4nts.xdebug.tracexdebug.profiler_enable=onxdebug.profiler_output_dir=d:/phpstudy_pro/extensions/php_log/php7.3.4nts.xdebug.profilerxdebug.remote_enable=onxdebug.remote_autostart=onxdebug.remote_host=localhostxdebug.remote_port=9000xdebug.rem蛇的传说ote_handler=dbgp

vscode :
ctrl+,调出tting,或则文件->首选项->设置

php路径设置

{  "window.zoomlevel": 1,  "git.confirmsync": fal,  "git.autofetch": true,  "[javascript]": {    "editor.defaultformatter": "vscode.typescript-language-features"  },  //关键点  "php.validate.executablepath": "d:/phpstudy_pro/辽宁分数线extensions/php/php7.3.4nts/php.exe"}

xdebug设置

{  // 使用 intellin 了解相关属性。   // 悬停以查看现有属性的描述。  // 欲了解更多信息,请访问: /d/file/titlepic/debugging#_launch-configurations  "version": "0.2.0",  "configurations": [    {      "name": "listen for xdebug",      "type": "php",      "request": "launch",      //端口      "port": 9000    },    {      "name": "launch currently open script",      "type": "php",      "request": "launch",      "program": "${file}",      "cwd": "${filedirname}",      //端口      "port": 9000    }  ]}

验证

vscode f5启动调试

浏览器输入:localhost/test.php

到此这篇关于phpstudy vscode 搭建debug调试的教程详解的文章就介绍到这了,更多相关phpstudy vscode 搭建debug调试内容请搜索www.887551make love是什么意思.com以前的文章或继续浏览下面的相关文章希望大家以后多多支持www.887551.com!

本文发布于:2023-04-08 22:01:53,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/zuowen/070be6f61cd589a96258632160eb17e1.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

本文word下载地址:phpStudy vscode 搭建debug调试的教程详解.doc

本文 PDF 下载地址:phpStudy vscode 搭建debug调试的教程详解.pdf

标签:端口   属性   下载地址   文章
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图