I ran into similar issues a while ago, but I was having them with both my Denon and Harmony extensions, which to me rather suggested a Roon issue. To get my wife happy, I just ended up restarting the extension every hour. However, there were some minor Roon API changes in the mean time, so you could try to do an
npm update to see if it fixes the issue.
To generate debug output, you just need to start the extension with
DEBUG=* node . instead of just