package 出错, 如何定位错误行?

consult-ripgrep 命令报错: wrong argument overlayp, nil 但我想知道是哪一行出错了, debugger 能做到这一点么? 我试了试(debug-on-entry consult-ripgrep), 打开了一个 BackTrace buffer, 然后就不知道该干啥了.

试试 M-x toggle-debug-on-error