How to see the trace?

you need also to add

    mbed_trace_init();

once in your main();