Your WebKit devtools front-end for Node WebKit Agent
npm install webkit-devtools-agent-frontend
|5||downloads in the last week|
|14||downloads in the last month|
|Version||0.0.4 last updated 2 months ago|
Node Webkit Devtools Agent Front-End
Your WebKit devtools front-end for Node WebKit Agent.
Instead of connecting your Node debugging session to a gh-pages site, you can easily self-host the front-end code for connecting to your WebKit devtools agent.
node install -g webkit-devtools-agent-frontend
In the application you want to profile, install and run Node WebKit Agent.
Connecting to the agent
Activate the agent in your application by sending a
SIGUSR2signal to its process id. To de-activate, send the signal once again. Example:
kill -SIGUSR2 <the process id of your app>
Start the agent front-end by running
webkit-devtools-agent-frontend. You should see the message: "WebKit devtools agent front-end listening on http://localhost:9090". Using your browser, go to that URL, and profile away.
You can change the port on which the agent front-end listens using the NODE_WEBKIT_DEVTOOLS_PORT environment variable, e.g.,
NODE_WEBKIT_DEVTOOLS_PORT=9099 node-webkit-agent-frontend to listen on port 9099.
Developed by TerraEclipse
Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.
Copyright (C) 2013 Terra Eclipse, Inc. (http://www.terraeclipse.com) All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Terra Eclipse, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.