There's a few spots where we check if something is either undefined or if its length is zero, which can be simplified by instead using optional chaining.
Instead of having all the code for the new debugger in a single file,
split it into multiple files.
This makes it easier to navigate and maintain the codebase.
It'll be make hacking and fixing bugs in the debugger easier.