1
2
您可以定义一个全局函数“q”,它的工作方式与“p”类似,只是它打印到$stderr。
你可能会被诱惑使用
|
2
1
为什么假设kernel p用于调试?它像C语言中的kernel print或printf一样写入stdout。 如果要写入标准错误,可以执行以下操作:
顺便说一下,如果您真的想使用printf调试,我建议您阅读以下内容 article about debugging techniques |
Stilian · 存储库设置中没有Github页面部分 2 年前 |
Kellen · 查看$卷展栏功能列表 2 年前 |
Akshit Thakur Ak · 我怎样才能把铁轨停下来? 2 年前 |
johncssjs · 将数组转换为每个元素的嵌套哈希 2 年前 |
solidsnake99 · Rails db:如何绕过验证 2 年前 |