mas icon indicating copy to clipboard operation
mas copied to clipboard

Add --debug option to show JSON responses

Open phatblat opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Related to problems like #311 which can happen when the iTunes Search API returns unexpected JSON.

Describe the solution you'd like

I'd like a way to be able to print/dump the response JSON (and maybe HTTP headers) so that the data can be reviewed when errors occur.

Describe alternatives you've considered

Currently, the only way to view the JSON is to debug the project in Xcode or use a REST client with a problem search. Some of these issues are transient so this feature would allow mas users to easily collect this data for bug reports.

phatblat avatar Feb 13 '21 20:02 phatblat

+1

That would be useful.

andrewcrook avatar Feb 16 '21 13:02 andrewcrook