debugging in codelite - "GDB: Failed to set controlling terminal: Operation not permitted"
Solution 1:
As mentioned in codelite github
This error message is harmless and can be ignored. If the terminal does not "pause" when your code terminates, you can enable this from Project Settings->General->Pause when execution ends
To configure different temrinal, you do it from Ubuntu's terminal, like this:
sudo update-alternatives --config x-terminal-emulator