Sometimes it's a real pain that JSON doesn't support comments. One positive consequence is that 'npm install' is always able to programmatically add new entries.
Cargo's TOML is much harder to edit in a way that preserves comments, though solutions now exist.
After thoroughly confusing myself for a minute, I've added a feature to difftastic to warn you if both arguments are the same.
With hindsight, I should have done this much earlier.
I find myself using a "splatter then clean up" technique when working with code.
I add a ton of prints/logs/asserts/type annotations until I've found the issue. I then throw them all away!
It feels like redundant work, but I don't have a nicer solution.