debugger: refactor internal/inspector/_inspect
to use more primordials
#38406
+149
−134
internal/inspector/_inspect
to use more primordials
#38406