Fixing compilation error
Adding debugging to executable