Cant establish a connection to database on debug mode using node-inspector


#1

when i run node-debug app.js (node-inspector)
the connection isnt opening using the sdk (time out error).

[Error: Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout] code: 23]

i did tried to use 2.0 sdk as well .
but no luck ,.
i cant run my app in debug mode , its quite a pain .
Thanks in advance .


#2

I’m not sure how you are debugging your application, but keep in mind that by default the client will have about 4 seconds from construction until it raises this timeout. This is an absolute time (which may be configured). So if you are stepping through your application you may wish to raise some of the timeouts beforehand