Experience-Monks / devtool

[OBSOLETE] runs Node.js programs through Chromium DevTools
MIT License
3.76k stars 148 forks source link

can this devtool out the process.stdout.write ? #80

Open hezedu opened 8 years ago

hezedu commented 8 years ago

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

mattdesl commented 8 years ago

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.

hezedu commented 8 years ago

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.