[v16.x backport] debugger: throw a more useful error when the frame is missing
backport of #42776
cc @danielleadams
PR-URL: https://github.com/nodejs/node/pull/42776 Fixes: https://github.com/nodejs/node/issues/42775 Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com Reviewed-By: James M Snell jasnell@gmail.com