[Finishes #46718689] Make sure debugging information is gathered only in the dev env

- Created core bundle and separated listener injection based on kernel.debug value true / false in debug module.
- Added documentation for the debug options and created folder for all docs we will do in the future.
Merge remote-tracking branch 'origin/dev' into dev