perf(ext/console): avoid wrapConsole
when not inspecting
#15931
Merged
wrapConsole
when not inspecting
#15931