What is the recommended way of having a DebugComponent that extends MainComponent with some extra modules in debug? Thank you.
h
hmole
09/25/2019, 12:53 PM
Extend MainComponent, add MainComponent modules and DebugComponent modules as well. That's it
g
ghedeon
09/25/2019, 3:09 PM
That would mean that I have to add shared modules in release as well. And every time I add another module, I have to copy it to all other flavors? Doesn't look very scalable :(
r
reline
09/25/2019, 3:14 PM
You could always include a component of a particular name in main, then leave the implementation empty in release, and provide debug implementations in debug.