Friends,
Can some helpful soul share the magic recipe for modern Meteor (1.3.4.X) and node-inspector for server side debugging on Windows 7 x64?
Currently I’m using Node Inspector 0.12.8:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\System32>node-inspector --version
Node Inspector v0.12.8
C:\Windows\System32>
Until now I’ve been pretty successful and holding it together with duct tape and bailing wire, but now I have the following symptoms:
Your Node version (v0.10.45) has a partial support of profiler.
The stack frames tree doesn't show all stack frames due to low sampling rate.
The profiling data is incomplete and may show misleading results.
Update Node to v0.11.13 or newer to get full support.
Error: Cannot find module 'C:\Users\David\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v11-win32-ia32\debug.node'
Please note the last line of output “Cannot find module…” Before, this was a false negative, and I was able to use it successfully in spite of this message. I’ve seen other people report this same message, but I have not found the “best practices” work-around to resolve the problem.
With my current configuration, my symptoms are as follows:
- Node inspector starts properly side-by-side with Meteor.
- I’m able to connect to Node and browse around in server-side source code.
- Meteor application seems unstable
- The system never breaks at any breakpoint even with the debugger instruction
Regarding (3) any calls to server-side code via Meteor methods seem to cause the system to go into “never never” land (i.e., I don’t see any evidence that the functions are being called). If I close Node Inspector browser, suddenly the system “frees up” and begins working.
I told my wife that I’ve been tearing my hair out, and she said “Dave, just post on the Meteor forum, don’t drive yourself crazy. Remember last time?”
So I’m posting. Thanks in advance for any help you can provide.
Best regards,
Dave