Thanks, the DEBUG_HOST part was my problem, I got it working properly now. Thanks for the help
On Jun 7, 2012, at 2:56 AM, darcy wrote: > if you are not running chrome on the server where node is running, you should > set the DEBUG_PORT and DEBUG_HOST environment variables > > like: > export DEBUG_HOST=10.210.214.247 > On Thursday, June 7, 2012 12:51:30 AM UTC+8, marcucio wrote: > I understand the difference between remote and local debugging, I was using > the node-inspector library on the server which allows you to debug the server > code through a different port. Debugging the server code with node-inspect is > fine but it is supposed to allow you access to the Profiles tab which does > not work for me. > > I tried to use the library you suggested, I got as far as sending the signal > to the process and getting "webkit-devtools-agent started on 127.0.0.1:1337" > but when I go to: > > http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=(my > host):1337&page=0 > > I get the following page: > > > > > > On Wednesday, June 6, 2012 12:16:19 PM UTC-4, Oleg Efimov (Sannis) wrote: > It you app is HTTP server and you open it in browser, than profiling tab in > web inspector refers to your page javascript, not server code. > Use https://github.com/c4milo/node-webkit-agent if you want to monitor the > app. > > среда, 6 июня 2012 г., 19:40:05 UTC+4 пользователь marcucio написал: > I installed node-inspector and v8-profiler on my server and I am able to > debug the javascript remotely. I am also able to do: > > var profiler = require('v8-profiler'); > var snapshot = profiler.takeSnapshot([name]) > > to take a snapshot within the app. The only problem is that I only see the > scripts and counsel table in the inspector, I do not see the profile tab. I > was wondering what might cause this? Is there a problem with node-inspector > finding the v8-profiler? > > Any help would be appreciated, thanks > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en