Is there a way to visualize the way headers are processed

Is there a way to visualize the way headers are processed by VSCode/PlatformIO?
I’m having a problem including headers, mostly circular inclusion.
A way to visualize the including process would be most helpful.

Not in PlatformIO afaik. Although maybe cppcheck will warn you when you run the static code analysis tool on it?

But there’s tool like GitHub - pvigier/dependency-graph: A script to draw the dependency of C++ classes. or the more popular Doxygen (tutorial) (which also uses the Graphviz tool the previous tool uses).

Great! You’re a hero and a life saver!