Yes. Go to "Project->Project options", select "Compiler options", click the "..." button in "Build modes" and in the dialog that appears click "Create debug and release modes".
To change modes you can then select the wanted one either in the coolbar or going again to "Project->Project options->Compiler options"