Logcat과 함께하는
신나고 유익한 모바일 JS디버깅
Logcat
Android
Holy Shoot
• Firefox OS 앱 개발환경의 난제들
• Ver 1.1 시뮬레이터에서 디버깅 툴이 제대로
돌지 않음
• 시뮬레이터에서는 모든 API를 사용할 수
없음
• weinre client script 삽입시 앱 동작 멈춤
(왜 ㅠㅠ)
Why Logcat?
• adb만 설치하면 기본 탑재 (설치 간편)
• 콘솔상의 모든 값들을 볼 수 있음
(실제 디바이스에서 Console.log로 찍는
값들을 바로 볼 수 있음)
What is logcat?
• 원초적 로깅 뷰
• 디바이스의 모든 로그를 보여줌.
Why don’t you use weinre?
ADB LOGCAT is..
Android OK!
Firefox OS OK!
How to?
• Just install adt
http://developer.android.com/sdk/index.html#d
ownload
• That’s all you need!!!
Screenshot
And more?
• node.js logcat
# npm install –g logcat
# logcat
https://npmjs.org/package/logcat
References
http://developer.android.com/tools/debugging/
debugging-log.html

Logcat과 함께 하는 모바일 웹 디버깅