Fixed certificate problem on first run
Added error handling to debug session
Gitignore