列表格式显示
广告招商中...... 联系方式!
私信 +好友
php.ini
[Xdebug]
zend_extension=C:/php7_3_4nts/ext/php_xdebug.dll
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.auto_trace=Off
xdebug.trace_output_dir=C:/php7_3_4nts/ext/php7.3.4nts.xdebug.trace
xdebug.profiler_enable=Off
xdebug.profiler_output_dir="C:/php7_3_4nts/ext/\tmp\xdebug"
;xdebug.remote_enable=Off
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_enable=On
xdebug.remote_autostart = 1
vs.code
文件-》首选项-》设置
php:
phpdebug:
{
"php.debug.executablePath": "C:\\php7_3_4nts\\php.exe",
"php.validate.executablePath": "C:\\php7_3_4nts\\php.exe"
}
launch.json
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9000
},
"name": "Launch currently open script",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
"name": "Launch Built-in web server",
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
"program": "",
"cwd": "${workspaceRoot}",
"port": 9000,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
]
<?php
$i=5;
$b=6;
phpinfo();
?>
本页Html网址:/htmlsoft/619441.html
本页aspx网址:/soft.aspx?id=619441&bianhao=202410152246282379_51318&kind1=&kind2=
最后访问时间:
上一篇:phpstudy不解析php
下一篇:xdebug helper-1.6.1.crx
增加