src: moving dispatch_debug_messages_async to Environment
Checklist
-
make -j4 test
(UNIX) orvcbuild test nosign
(Windows) passes -
the commit message follows commit guidelines
Affected core subsystem(s)
src
Description of change
This commit attempts to fix one of the items in https://github.com/nodejs/node/issues/4641, which was to move dispatch_debug_messages_async to the Environment class.