To enable semihosting debug Keil users must define DEBUG_ENABLE_SEMIHOST in both C/C++ and Asm preprocessor symbols.
IAR users must define DEBUG_ENABLE_SEMIHOST in both C/C++ Compiler and Assembler preprocessor symbols.