Code

Replaced the debug macro with a function