Add input debugging and enable documentation

Adding some stuff as discussed in #52