<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[对qiime2进行pdb调试屏幕无输出问题的解决]]></title><description><![CDATA[<h1>问题描述：</h1>
<p dir="auto">使用python pdb对qiime2代码进行调试时，有些代码无法打断点后屏幕无输出导致调试出现问题</p>
<h1>解决方式：</h1>
<pre><code class="language-bash"># 进入相关代码目录
cd ~/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli

vim commands.py
# 注释输出从定向的代码
#           # with qiime2.util.redirected_stdio(stdout=log, stderr=log):
#           #     results = action(**arguments)
# 修改为
#           results = action(**arguments)
# 注意代码对齐，results和with缩进一致

</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/10/对qiime2进行pdb调试屏幕无输出问题的解决</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 10:58:55 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/10.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jul 2020 11:41:22 GMT</pubDate><ttl>60</ttl></channel></rss>