laravel / ideas

Issues board used for Laravel internals discussions.
939 stars 28 forks source link

Can not find where i dd() in test suite #1903

Closed foremtehan closed 4 years ago

foremtehan commented 5 years ago

Sometimes i forgot where i did dd() in my test suite, I think it would be nice we could find the place in dd() method.

Capture

ludo237 commented 5 years ago

You can ctrl+f, or whatever shortcut you have to search in your IDE/Code Editor, to find them....

julienbourdeau commented 5 years ago

It happens to me when I start dding in the vendor directory and I can find it anymore. Because there is A LOT of code and it’s typically ignored in your search.

michaeldyrynda commented 5 years ago

Use the ddd() helper instead in future. It’ll give you a stacktrace, too, so you can find your rogue debug 👍🏻

martinbean commented 4 years ago

@foremtehan Not sure what this has to do with Laravel.

Use your editor/IDE to find “dd(” in your codebase.