omorandi / TiInspector

Debug Titanium Mobile applications through Chrome DevTools
MIT License
109 stars 14 forks source link

Dashboard not showing debug sessions if bound to port != 8080 #5

Closed mdsb100 closed 11 years ago

mdsb100 commented 11 years ago

terminal: info: Debug server listening on port: 8999 info: Devtools server listening on port: 8070 packetLoggingEnabled: undefined info: Debugger connected with session id: e555d4cf-fce0-4a01-8c68-76de407a59b2 build: -- Start simulator log ------------------------------------------------------- [INFO] Application started [INFO] jryMobile/5.0.0 (3.1.1.GA.f7592c1)

web: No debugger sessions attached

info: alloy -v 1.1.3

ti -v 3.1.1

node -v v0.8.8

mdsb100 commented 11 years ago

It work well after I change to host:8080. I am sure 8070 is free. It will fail when optional change to other host, not 8080? (ti-inspector --web-port=8070)

omorandi commented 11 years ago

It should be fixed now. The web app websockets were bound to a hardcoded "localhost:8080" value