Vscode php调试器Illuminate \ Contracts \ Filesystem \ FileNotFoundException:文件在路径中不存在

问题描述 投票:0回答:1

[我试图使用vscode调试器调试laravel代码,但是我确实这样做了,在某个控制器行上标记了一个断点,然后运行调试器,但我遇到了这个问题

Illuminate\Contracts\Filesystem\FileNotFoundException: File does not exist at path /mnt/c/projects/www/mycrateclub/storage/framework/cache/data/6f/cf/6fcf17e03636125ae681cea5779f3e9bfc88abbb

我在ubuntu 18.04版本和php 7.2安装的WSL中​​运行它。

我不知道该怎么办,我在堆。

有人有没有相同的经历?

我不知道问题到底在哪里,laravel或vscode调试器,我也不知道在vscode或laravel上哪里产生问题。

php debugging laravel-5.5 windows-subsystem-for-linux
1个回答
1
投票
在VS Code窗口左下角的“运行/调试”面板中关闭Exceptions。正如问题注释中提到的Jeeba一样,此错误是误报。这是我找到的唯一解决方法。

VS Code Breakpoints screenshot

© www.soinside.com 2019 - 2024. All rights reserved.