added debugging docs