Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30C70EAA1 for ; Mon, 11 Feb 2013 14:05:11 +0000 (UTC) Received: (qmail 531 invoked by uid 500); 11 Feb 2013 14:05:10 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 397 invoked by uid 500); 11 Feb 2013 14:05:10 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 386 invoked by uid 99); 11 Feb 2013 14:05:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 14:05:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jhs@iriscouch.com designates 209.85.160.174 as permitted sender) Received: from [209.85.160.174] (HELO mail-gh0-f174.google.com) (209.85.160.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 14:05:05 +0000 Received: by mail-gh0-f174.google.com with SMTP id g15so1238035ghb.5 for ; Mon, 11 Feb 2013 06:04:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=r4gb04wQz0nWSdn7MWYrp9GRwVVjR4F8dMF+JgmqUsw=; b=ddA5YcOtGDQvMgqqRey9Z0BB1yy1ll7+cBl6cyzcuO2hrNb8UkhcgyIKlumw1RKs39 LsFH2oTcBTw5GpAz/MKVORJHabyYgJZNXpwavkxi3zhrHSUffQPyaq/3D2j5flHY6OtN Dw64412CXJ2wYy5gYYG59Ejf96E3TfFqksprHF7HcOykOpVYV8/5OV5TjKsyhFPuzDp3 ooBPxrqL9W9p/Gz2uJ5za8J3p4NjFZnfoY+MZn4vA/Wp/u8ktaPPmnlYZZMIULJ54rzZ 4zfUFncO3pQjhQg526TkI+32yhNXp1xpSewBJ3yYu3K6Na7s4GoVZWpKXVD6FNUXRMLf ApDw== X-Received: by 10.236.141.97 with SMTP id f61mr17532293yhj.69.1360591483800; Mon, 11 Feb 2013 06:04:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.163.35 with HTTP; Mon, 11 Feb 2013 06:04:13 -0800 (PST) From: Jason Smith Date: Mon, 11 Feb 2013 14:04:13 +0000 Message-ID: Subject: In-browser debugging with Node.js couchjs To: CouchDB Developers Content-Type: multipart/alternative; boundary=20cf30363aaf138bf504d5736422 X-Gm-Message-State: ALoCoQkxTaq8nZozpfB1uMcxeq8C18HC0OymYBw+9i0cavTSULu9KLof1g6e3ix8HVoHGcg8Diik X-Virus-Checked: Checked by ClamAV on apache.org --20cf30363aaf138bf504d5736422 Content-Type: text/plain; charset=UTF-8 I just pushed more work in my nodejs_couchdb branch. I have a working in-browser GUI debugger. You can set breakpoints, step through code, inspect data values. This works for any JavaScript code CouchDB runs: map/reduce functions, validate_doc_update, filters, etc. I put up some quick screenshots and mp4 screencast to show what it's like: https://jhs.iriscouch.com/files/debugger/debug.html I would love to hear feedback from people. What are your thoughts? Me? I think it shows the power of Node.js. It shows possible opportunity cost if we do not use it. Thanks! -- Iris Couch --20cf30363aaf138bf504d5736422--