add debug functionality (debuggable)