spatie / laravel-ray

Debug with Ray to fix problems faster in Laravel apps
https://myray.app
MIT License
290 stars 63 forks source link

Ray doesn't show the proper file where ray() was called. #11

Closed DanielFatkic closed 3 years ago

DanielFatkic commented 3 years ago

I have added ray('my test') to my index.php file, but it's showing "helpers.php:21" from the ray package as file where it was called.

The same happens if I call ray('my test from ' . __CLASS__ ); from several different files.

Bildschirmfoto 2021-01-07 um 18 13 42

My environment: OSX with MAMP Pro 5.7

DanielFatkic commented 3 years ago

Sorry, this is actually a duplicate of https://github.com/spatie/ray/issues/8 , I haven't noticed that I was in the laravel-ray project 🤭