fix problems with debug mode if not correctly initialized.
fix problems with debug mode if not correctly initialized.

WoLpH/jedi,dwillmer/jedi,jonashaag/jedi,dwillmer/jedi,WoLpH/jedi,flurischt/jedi,jonashaag/jedi,flurischt/jedi,tjwei/jedi,mfussenegger/jedi,tjwei/jedi,mfussenegger/jedi