devtool icon indicating copy to clipboard operation
devtool copied to clipboard

can this devtool out the process.stdout.write ?

Open hezedu opened this issue 9 years ago • 2 comments

some log middleware (like morgan) 's out can't find on the devtool and terminal.

hezedu avatar Jul 25 '16 07:07 hezedu

It supports console.log (to DevTools console), process.stdout.write (to Node.js console) and similar functions. Some libraries might not work perfectly if they use a crude test to determine whether the environment is a browser or Node.js, since Devtool is technically both.

mattdesl avatar Jul 25 '16 13:07 mattdesl

the _test.js_

console.log('console.log');
process.stdout.write('process.stdout.write');

run itdevtool test.js env: win10, node 6.10,devtool 2.03, chrome 50.0.2661.102,electron 1.1.1 result: can't see the "process.stdout.write" on the both.

hezedu avatar Jul 26 '16 02:07 hezedu