如何为 chrome 或 firefox Offline 安装 xdebug 扩展?
How do I install xdebug extension for chrome or firefox Offline?
我是cakePhp的初学者,我有两台电脑。连接到 Internet 的一个我可以调试,但另一个未连接的我无法调试
- 我在本地安装 xdebug 扩展。
甚至我在本地为 chrome 安装了 xdebug
但是我无法调试我的网站,它是一个 cakephp 网站
在 php.ini 中,x-debug 部分的配置是:
[X-调试]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
zend_extension = D:\wamp64\bin\php\php7.2.18\ext\php_xdebug-2.9.1-7.2-vc15-x86_64.dll
两台计算机的所有条件都相同,唯一不同的是 google 其中一台连接到 Internet 的版本是 79.0.3945.130,另一台是 74......
使用 chrome 我安装了扩展程序,但是使用 fireFox 我无法安装 edebug 扩展程序。
任何人都可以帮助我如何在本地使用 vsCode 进行调试吗?
此致
我可以在 vsCode 离线调试 cakePHP 的关键点是 .vsCode 文件夹在蛋糕站点的第一级和里面的 launch.json 文件中有一行是: "name": "Listen for XDebug", 是你可以在离线状态下调试的原因,但是我有 .vsCode 文件夹,我遵循这个 link:
Xdebu Installation Wizard
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: 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",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
其他必要的步骤是将适当的 dll (php_xdebug-2.9.1-7.2-vc15-x86_64.dll) 放入此文件夹中:
D:\wamp64\bin\php\php7.2.18\ext 是我的active php
的扩展文件夹
我是cakePhp的初学者,我有两台电脑。连接到 Internet 的一个我可以调试,但另一个未连接的我无法调试
- 我在本地安装 xdebug 扩展。
甚至我在本地为 chrome 安装了 xdebug 但是我无法调试我的网站,它是一个 cakephp 网站 在 php.ini 中,x-debug 部分的配置是:
[X-调试] xdebug.remote_enable = 1 xdebug.remote_autostart = 1 zend_extension = D:\wamp64\bin\php\php7.2.18\ext\php_xdebug-2.9.1-7.2-vc15-x86_64.dll
两台计算机的所有条件都相同,唯一不同的是 google 其中一台连接到 Internet 的版本是 79.0.3945.130,另一台是 74...... 使用 chrome 我安装了扩展程序,但是使用 fireFox 我无法安装 edebug 扩展程序。
任何人都可以帮助我如何在本地使用 vsCode 进行调试吗?
此致
我可以在 vsCode 离线调试 cakePHP 的关键点是 .vsCode 文件夹在蛋糕站点的第一级和里面的 launch.json 文件中有一行是: "name": "Listen for XDebug", 是你可以在离线状态下调试的原因,但是我有 .vsCode 文件夹,我遵循这个 link: Xdebu Installation Wizard
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: 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",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
其他必要的步骤是将适当的 dll (php_xdebug-2.9.1-7.2-vc15-x86_64.dll) 放入此文件夹中: D:\wamp64\bin\php\php7.2.18\ext 是我的active php
的扩展文件夹