omorandi / TiInspector

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

Reload debugger in-place #1

Closed wpccolorblind closed 11 years ago

wpccolorblind commented 11 years ago

Can there be an option to have the debugger reload in place when you rebuild? (rather than having to go back in the browser and choose the new session)

This would allow for more rapid iteration during app development.

wpccolorblind commented 11 years ago

Another bad side effect of having to go back and load the new debugger session is that all your open files from before disappear, causing you to have to re-open the environment you were debugging in before.

EDIT: This actually works now

wpccolorblind commented 11 years ago

If it could reload in-place AND keep the console window open that would be a double win.

omorandi commented 11 years ago

I have something in mind for the auto-reload feature. However, maintaining the DevTools state across reloads (beside what DT already does, e.g. persisting breakpoints, open files, etc.) might need some more effort. I'll check out what can be done. Thanks

omorandi commented 11 years ago

Fixed in version 0.0.3

wpccolorblind commented 11 years ago

New version is awesome! Any way to have console re-open on reload?

omorandi commented 11 years ago

I've opened a new issue for that: https://github.com/omorandi/TiInspector/issues/3