`--debug` option to output requested URLs, other debug info
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 12.4k
- Forks
- 299
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the iTunes Search API request and the existing error-reporting path; the issue names no files or tests. Confirm the intended --debug scope with maintainers, including whether requested URLs, response JSON, and HTTP headers are included, then add coverage for the agreed output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100