Add shim to debug.