Fixed failed to connect to remote debugger with -rdebug will crash engine
Merge pull request #594 from marynate/PR-fix-rdebug-crash

Fixed failed to connect to remote debugger with -rdebug will crash engine