Trying to debug a request being sent by Laravel’s Http facade? Check this out: the PendingRequest class has two methods you probably haven’t noticed before: dd() and dump() .
These are incredibly useful when you’re quickly trying to debug a request issue—specifically, being able to avoid sending extraneous requests to 3rd-parties while you’re debugging:
Http::baseUrl('https://service.com/api')->dd()->get('/profile');
The dd() method will dump the request without sending it. The dump() method will dump the request without stopping execution. This is especially useful when paired with something like Telescope, where you can see your dumps styled nicely in a separate tab.