How to print Errors to Immediate Visual Basic Programming

For debugging VBA Access Database (Datamart), print errors to consoleĀ Debug.Print "Salary = "; Salary