global: fix remote debugger to work with Flask
- Fixes remote debugger to work with Flask.
- Changes method of enabling remote debugger to use CFG_DEVEL_TOOLS
- Removes legacy code profiler.
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>