今天我学了什么

ADoyle 的碎片化知识笔记。 博观而约取,厚积而薄发。

TagsRSSGithub

关系图谱

首页

❯

其他

Alfred Workflow debug 技巧

创建时间:2018/01/27更新时间:2018/01/2754 个字1分钟读完

将信息输出到 stderr,这样才能在调试窗口中看到

>&2 echo "Log this output to the console"

参考: https://www.alfredforum.com/topic/9170-alfred-3-tip-use-stderr-to-output-to-the-debug-console/

使用 python 模块

import sys

sys.stderr.write("Log this to the console")

将节点输出连接到 utilities/debug

参考: https://www.alfredapp.com/help/workflows/utilities/debug/


  • 将信息输出到 stderr,这样才能在调试窗口中看到
  • 使用 python 模块
  • 将节点输出连接到 utilities/debug

关系图谱

Copyright 2016-Now ADoyle (adoyle.h@gmail.com). All Rights Reserved. ADoyle 保留所有权力。
转载本站文字需要注明署名和来源链接。版权归 ADoyle 所有。如有违反,虽远必诛。
本站源码 adoyle-h/Today-I-Learned。觉得好请点个 Star。
若有意见或问题,请你发到讨论区,并遵守我的交流规约。