Change the default port for the local HTTP server
Use console.error() to print uncaught exception message