How compatible is the Xiao to an Arduino e.g. Nano?

I have renamed all the other instances of dcc_decoder.h and .cpp so that the only files available to the sketch are the ones being worked on.

I have put
delay(5000); Serial.begin(9600);
at the end of the void setup() section of the sketch
Still nothing printing to monitor.