stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

stripe listen --forward-to ... get the response content

Open Ronan-Lenor opened this issue 3 years ago • 0 comments

Problem

On my Laravel project, i would love to do some debbuging & i try to do stuff like dump($object);

Nonetheless, with stripe listen --forward-to ... the best i could get as response is [200] POST example.com [evt_xxx] i could build logs in a file to see what's happen on my side, but that would be really convenient to get the result of my dump() directly in the console output.

Feature

output the stripe listen --forward-to ... Response content

Examples

add a flag to stripe listen... stripe listen --forward-to example.com:8080 --content or ? stripe listen --forward-content-to example.com:8080

workaround for Laravel user

2 solutions that i have found is to use one of those packages (seem to have conflict when using both) : laravel/telescope or beyondcode/laravel-dump-server

Ronan-Lenor avatar Dec 15 '22 15:12 Ronan-Lenor