yiisoft / yii2-debug

Debug Extension for Yii 2
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
202 stars 150 forks source link

Unable to load debug page #418

Closed senguttuvang closed 5 years ago

senguttuvang commented 5 years ago

What steps will reproduce the problem?

Hitting http://myapp.local/debug should load the debugger

What's expected?

Should load the debug page

What do you get instead?

Encountered 400 error. runtime/debug/index.data is of zero size.

Additional info

Project configured in MacOS Catalina/Vagrant 2.2.6. I suspect permission issue but another exception data is generated (Eg. 5db54f5b9c2da.data). I tried renaming 5db54f5b9c2da.data to index.data but it resulted in exceptions.data missing error. runtime, runtime/debug, runtime/logs are recursive 777.

Q A
Yii version 2.0.29
PHP version 7.1.x
Operating system MacOS Catalina
senguttuvang commented 5 years ago

Uploading the exception stack trace exception.txt

senguttuvang commented 5 years ago

That was an issue with MacOS Catalina and Vagrant, nothing to do with Yii framework. I fixed it my modifying the mount option to nfs

config.vm.synced_folder ".", "/vagrant", create: true, type: "nfs", mount_options: ['actimeo=1']