Debugging extraction code