interface: print debug message with the correct id