The Log

Tag: #debug

Inspect network traffic of an iOS app

I needed access to some of the endpoints used by an iOS app, which also happened to be terrible. There are a couple of different ways to achieve this, probably the simplest of which is to run a proxy somewhere, and route traffic through it. Today I found out about mitmproxy which makes inspecting web traffic going through it very simple.

Debugging macros in Nim

Nim provides three essential macros in the built-in macros module that are very helpful when writing or debugging macros. They are: dumpTree, dumpAstGen and expandMacros.