Improved debug

as I could see, `get_write_request` could be renamed to `make_write_request` as it has some side-effects (not only a getter)