Report error from target file

Fix issue #779
Remove the `debugger` statement.