Last active
August 29, 2015 14:00
-
-
Save ffabreti/8fd551ed321d51d7f458 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugging Titanium Android applications with node-inspector | |
Thanks to Stevo Perisic | |
Download the https://github.com/node-inspector/node-inspector using | |
$ npm install -g node-inspector | |
Than go to your titanium project folder and run: | |
$ node-inspector | |
after that in the same dir run: | |
JAVA_HOME=/usr/java/latest titanium build -f -p android -T emulator -I 7 -S HVGA --debug-host localhost:5858 | |
in your browser open localhost:8080/debug?port=5858 | |
and voila! You have the chrome inspector in your android titanium project! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notice: | |
titanium build "-I 7 -S HVGA" option tries to spawn avd named titanium_7_HVGA |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great. Thanks, will give it a try!