chjj / tty.js

A terminal for your browser, using node/express/socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I enable the logs of tty.js

tigerteam01 opened this issue · comments

Hello,
How I enable the logs of tty.js and get access to them?
I have an app that launches an instance of tty.js
From my app I set the config of tty.js as shown below (coffeescript)
**
ttyjsApp = ttyjs.createServer
shell: 'bash'
port: ttyJsPort
debug: true
log: true
io: {log: true}
**

However when I start my app using "node myapp.js" I dont see any logs from tty.js
Could someone please point me in the right direction.
By the way, my app connects to the instance of tty.js using the socket.io library. My app receives the "connect" event on the tty.js socket so I know that it is indeed connecting to the instance of tty.js that it launched.