Syntax

-g

Description

The -g option instructs the compiler to generate debugging information (line numbers and data type information) for the debugger to use.

Project property

Build Options > Include Debug Information