refactor: don't optimize when in dev mode (#2677)
refactor: don't optimize when in dev mode (#2677)

- as hot reload is much faster
- as debugger statements are optimized away otherwise

ref #2318

Co-authored-by: Torsten Knauf <97b7cd6211f4199bc46c96cbab391a6738589c5d@maibornwolff.de>
Co-authored-by: Ihsen Bouallegue <965bf6554fcdb509c930300fd47c43a776547faa@users.noreply.github.com>
MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta