app -> idx in debug messages