image-edit
Stack Trace Tips
**In tests:** Use `console.error()` not logger - logger may be suppressed **Before operation:** Log before the dangerous operation, not after it fails **Include context:** Directory, cwd, environment variables, timestamps **Capture stack:** `new Error().stack` shows complete call chain
← 返回教程列表
AI8899 · 内容仅供学习参考