Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
inspector: Allow require in Runtime.evaluate #8837
Affected core subsystem(s)
Description of change
Being able to require modules from the console can be very handy while debugging issues. This allows to do it even when require is no longer in scope or the process isn't currently paused. It also creates the foundation for adding other command line API methods in the future (if more use cases come up).
That's definitely true! :) Unfortunately I'm about to be sidetracked by some work-related stuff soon so I'm not sure when I'll get around to work on those changes & the associated test cases to make sure the extended require.* API works as expected.
Given that this would put this PR into hibernation once more, I'd vote to just close this for now and cut our losses. It's a fairly minor QoL improvement and it has now consumed at least some amount of time for more than a handful of people. Maybe somebody with more experience with node who can anticipate the general feedback a bit better will be able to pick this up eventually..?