This repository was archived by the owner on Oct 13, 2018. It is now read-only.

Description
Whilst debugging a recent issue I realised it would be an immense help to have request logging in the UI - something in a similar vein to chrome://net-internals but for requests proxied or served by browsersync.

Currently, you can achieve some request logging with the following:
const browserSyncPort = portfinderSync(3001);
const bs = browserSync.create();
bs.init({
logLevel: 'debug',
logConnections: true,
logFileChanges: true,
port: browserSyncPort,
ui: {
port: portfinderSync(browserSyncPort + 1),
},
proxy: {
target: 'somehost.name',
middleware: [require('connect-logger')(), webpackDevMiddleware, webpackHotMiddleware],
},
}, done);
Which is great, but it does get a little hard to follow when you've also got the build process spitting out logs into the same STDOUT.