# Mavlink debug message via USB

**URL:** <https://discuss.px4.io/t/mavlink-debug-message-via-usb/4221>\
**Category:** Uncategorized\
**Created:** [August 22, 2017, 7:59am UTC](https://discuss.px4.io/t/mavlink-debug-message-via-usb/4221 "2017-08-22T07:59:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doctorluhang](https://discuss.px4.io/user_avatar/discuss.px4.io/doctorluhang/32/414_2.png) [@doctorluhang](https://discuss.px4.io/u/doctorluhang)\
**Post date:** [August 22, 2017, 7:59am UTC](https://discuss.px4.io/t/mavlink-debug-message-via-usb/4221/1 "2017-08-22T07:59:40Z")

</div>

Dear all,  
I wanna send debug message over mavlink to QGC, using: mavlink\_msg\_statustext\_send(MAVLINK\_COMM\_2, 0, msg), where MAVLINK\_COMM\_2 stands for the USB port, in px4flow source code. But when I call this function, QGC does not show the message in ‘msg’ of the function. Could anyone give me some advice how to view the message in QGC? Thanks

EDIT: maybe a screenshot is helpful. I do not see where the message shows.

 ![](https://discuss.px4.io/uploads/default/original/2X/e/e19d44a29249b5431872eec049ce9c0a4ca4eb4e.png)
