VSCode 调试 react + Laravel 如何调试 ,已经装了 Debugger for Chrome 还是不行
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://127.0.0.1:8000",
"webRoot": "${workspaceFolder}/resources/js/app.js",
"address": "127.0.0.1",
}
]
}
上面是Debugger for chrome的配置文件,但是打断点还是显示未验证的断点。
已经全网搜索了,毫无结果,求告知怎么在 laravel+react 的项目中调试 js。
react+laravel 没有前后端进行分离。
推荐文章: