Debugging action hook