Makefile_stdout

(Project Properties window)

*.prj\COMPILE\Output Control\Makefile_stdout

If set to enabled, only the preprocessor phase of the compiler is executed.

See -M in the documentation for your toolchain.