Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
c4milo committed Aug 4, 2012
1 parent 3e15762 commit 2b5650b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -33,16 +33,22 @@ console.log('[%s] Server running at http://127.0.0.1:8080/', process.pid);
Example:
`kill -SIGUSR2 <the process id of your nodejs app>`

2. Using your browser, go to

http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0
2. Using your browser, go to devtools frontend URL corresponding to your nodejs version
##### Nodejs v0.6.x
http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:8080&page=0
##### Nodejs v0.8.x
http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:8080&page=0

It's important to make sure your browser supports websockets, otherwise the front-end won't be able to connect to the node agent whatsoever.

You can also change the agent port and host where it listen to by setting up the DEBUG_PORT and DEBUG_HOST environment variables.

For more documentation about how to use and interpret devtools, please go to the [Devtools official documentation](http://code.google.com/chrome/devtools/docs/overview.html)

## Heads Up
ABI compatibility is breaking between nodejs v0.6.x and v0.8.x, therefore if you switch nodejs versions you would have to re-install
webkit-devtools-agent again. See issue #11.

##Screenshots
### CPU profiling
![Screenshot](http://i.imgur.com/XLFG5.png)
Expand Down

0 comments on commit 2b5650b

Please sign in to comment.