Fixed debugging in Ubuntu