[nodejs] Re: questions about profiling nodejs

2012-06-06 Thread marcucio
sorry there is a typo, it should read "The only problem is that I only see the scripts and counsel tab in the inspector" On Wednesday, June 6, 2012 11:40:05 AM UTC-4, marcucio wrote: > > I installed node-inspector and v8-profiler on my server and I am able to > debug the javascript remotely. I a

[nodejs] Re: questions about profiling nodejs

2012-06-06 Thread Oleg Efimov (Sannis)
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 i

[nodejs] Re: questions about profiling nodejs

2012-06-06 Thread marcucio
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

[nodejs] Re: questions about profiling nodejs

2012-06-06 Thread darcy
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 debug

[nodejs] Re: questions about profiling nodejs

2012-06-17 Thread Александр Гурьянов
I have the same problem, but i run google-chrome on the same server. I profile a script file not a http server. And i dont see profile tab, i only can take snapshots of memory in console and view it in console. And HTTP_HOST (i use 127.0.0.1) does not help me. I run script like that: > node --

Re: [nodejs] Re: questions about profiling nodejs

2012-06-18 Thread Damien Klinnert
As far as I figured out, node-inspectar 0.2.0 beta does not implement this feature right now. Downgrading to 0.1.x fixed this for me. 2012/6/17 Александр Гурьянов > I have the same problem, but i run google-chrome on the same server. I > profile a script file not a http server. And i dont see pr

Re: [nodejs] Re: questions about profiling nodejs

2012-06-07 Thread Mike Marcucio
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