cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: https://wiki.apache.org/cordova/NodeInspector
Date Wed, 13 Nov 2013 14:41:13 GMT
>From https://github.com/node-inspector/node-inspector README:

"Overview

Node Inspector is a debugger interface for node.js using the Blink
Developer Tools (former WebKit Web Inspector)."

Basically it lets you use the same JavaScript developer tools built in to
chrome that you would use to debug a website to debug you node app.

The somewhat oversimplified steps are:
1. start your node app in debug mode (with optional flag to start "paused"
so you can debug startup)
2. run the node-inspector daemon
3. visit a special URL in chrome which will allow you to attach a remote
debugger to any running debug node app

Sadly the current version of node/node-inspector do not support profiling
(they did a long time ago) and node-webkit-agent (
https://github.com/c4milo/node-webkit-agent) which sorta kinda works for
profiling didn't lead to any interesting conclusions when I tried it (~98%
of run-time was uncategorized).


On Wed, Nov 13, 2013 at 9:21 AM, Wargo, John <john.wargo@sap.com> wrote:

> What does the node inspector do? I couldn't tell from the site.
>
> -----Original Message-----
> From: Carlos Santana [mailto:csantana23@gmail.com]
> Sent: Tuesday, November 12, 2013 10:32 AM
> To: dev@cordova.apache.org
> Subject: Re: https://wiki.apache.org/cordova/NodeInspector
>
> +1 To add Wiki, I see that is already linked from "Working on issue"
>
>  Once I discover node inspector made CLI development and debugging much
> easier.
>
> Maybe adding to the README of CLI and Plugman under a section "Testing and
> Debugging" (i.e. run npm install & npm test & use node-inspector for
> further debugging)
>
>
> On Mon, Nov 11, 2013 at 6:05 PM, Josh Soref <jsoref@blackberry.com> wrote:
>
> > I've added a short page for NodeInspector...
> >
> > I'm not sure where it should be referenced. Hopefully it will be of some
> > assistance...
> > ---------------------------------------------------------------------
> > This transmission (including any attachments) may contain confidential
> > information, privileged material (including material protected by the
> > solicitor-client or other applicable privileges), or constitute
> non-public
> > information. Any use of this information by anyone other than the
> intended
> > recipient is prohibited. If you have received this transmission in error,
> > please immediately reply to the sender and delete this information from
> > your system. Use, dissemination, distribution, or reproduction of this
> > transmission by unintended recipients is not authorized and may be
> unlawful.
> >
> >
>
>
> --
> Carlos Santana
> <csantana23@gmail.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message