# GSt 调试

Source: [https://docs.qualcomm.com/doc/80-70018-50SC/topic/imsdk_debug_gst.html](https://docs.qualcomm.com/doc/80-70018-50SC/topic/imsdk_debug_gst.html)

GST\_DEBUG 是一种调试技术，通过指定一个数字来设置合适的日志级别。

`GST_DEBUG` 环境变量控制 GStreamer 调试输出。

例如，要记录所有警告，可运行以下命令：

    export GST_DEBUG=2Copy to clipboard

**Parent Topic:** [使用 GStreamer 工具来管理自定义插件](https://docs.qualcomm.com/doc/80-70018-50SC/topic/im-sdk-base-uitilities.html)

**Related Information**  

- [https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c](https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c)

Last Published: Nov 12, 2025

[Previous Topic
机器学习 API](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/machine-learning-apis.md) [Next Topic
GStD 框架](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/gstreamer-daemon.md)