Graphnet Interview Question

How do debug procedures and functions if there are some bugs found?