I don’t think there is any conical way of creating the debugger. Its done in different ways all over the place.