Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C2F7DC57 for ; Fri, 24 May 2013 18:52:28 +0000 (UTC) Received: (qmail 95570 invoked by uid 500); 24 May 2013 18:52:25 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 95126 invoked by uid 500); 24 May 2013 18:52:23 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 95028 invoked by uid 99); 24 May 2013 18:52:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 18:52:22 +0000 Date: Fri, 24 May 2013 18:52:22 +0000 (UTC) From: "Martin Naumann (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-3494) Enable script debugging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666543#comment-13666543 ] Martin Naumann commented on CB-3494: ------------------------------------ I just wondered, because - at least for Chrome on Android - there apparently is an API to do all that: https://developers.google.com/chrome-developer-tools/docs/protocol/1.0/debugger And it seems to be part of WebKit for quite a while: https://www.webkit.org/blog/1875/announcing-remote-debugging-protocol-v1-0/ But the Aardwulf approach is perfectly fine for me, I'm going to look into it, thanks! > Enable script debugging > ----------------------- > > Key: CB-3494 > URL: https://issues.apache.org/jira/browse/CB-3494 > Project: Apache Cordova > Issue Type: New Feature > Components: weinre > Environment: Server: OSX > Target: Android 4.0.3, Cordova 2.7.0 > Reporter: Martin Naumann > Assignee: Patrick Mueller > Labels: javascript, newbie > > Debugging Javascript in a cordova application or on any mobile target would be very handy and many colleagues requested it or expressed the need for it. > It would be great to be able to set / unset breakpoints in Javascript (executing on the target device) and see the "Scripts" panel, that WebInspector provides. > I tried enabling the scripts panel / JS debugger but I think I need some poking in the right direction here, as I got stuck. > I got to this point: https://pbs.twimg.com/media/BK-16yOCMAEmm9K.png:large -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira