Netbeans IDE easy to set up, but how do I configure it for GDB debug?

See here: