Get preprocessed file

Hi,
how do I get the preprocessed file of my build, similar to the g++ -E option?
I tried to set it in the platformio.ini as build_flags = -E but that did not work.
Thanks for your help.