Skip to content

Instantly share code, notes, and snippets.

@doublerebel
Last active October 11, 2015 07:18
Show Gist options
  • Save doublerebel/3822994 to your computer and use it in GitHub Desktop.
Save doublerebel/3822994 to your computer and use it in GitHub Desktop.
How to use Node-Inspector to Debug Titanium Mobile Applications
npm install -g node-inspector
/path/to/.titanium/mobilesdk/linux/3.1.0.GA/android/builder.py simulator projectname /path/to/android-sdk-linux /path/to/project com.your.project 16 WVGA800 127.0.0.1:5858
node-inspector
@ffabreti
Copy link

What worked for me:

Go to your titanium project folder and run:
$ node-inspector

after that in the same dir run:
$ titanium build -p android -T emulator -C 3 --debug-host localhost:5858

in your browser open localhost:8080/debug?port=5858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment