added error handling. not working, starting debug session