I don’t think there is much possible without modifying the underlying software. ETC_Web and ETC_Mother are the relevant components. Ideally the web interface would provide a debug area where you could print stuff out…
another way is to make a mode that would just setup and draw a ‘child mode’. setup() would just call setup() on the child mode. and draw() would first call draw() on the child, then print stuff if needed.