Added file and line number to debugMessage