Open hezedu opened 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.
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.
some log middleware (like morgan) 's out can't find on the devtool and terminal.