debugger: Fix panics when debugging with inline values or confirming in console (#30677)

The first panic was caused by an unwrap that assumed a file would always
have a root syntax node.

The second was caused by a double lease panic when clicking enter in the
debug console while there was a completion menu open

Release Notes:

- N/A
f4eea0db2eAnthony Eid committed on 5/14/2025, 9:50:42 AM· committed by GitHubparented361ff
2 files changedLine totals unavailable