inspector: reduce implementation in header
Checklist
-
make -j4 test
(UNIX) orvcbuild test nosign
(Windows) passes -
the commit message follows commit guidelines
Affected core subsystem(s)
inspector
Description of change
This is needed to reduce the coupling between node files that use node::Environment and inspector class.