-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
built-in debugger doesn't work with an error (Azure SDK) #116
Comments
Did you have any version of iisnode installed on the machine prior to installing Azure SDK? |
No I didn't. First time using node.js.
Mode LastWriteTime Length Name -a--- 11/21/2011 4:11 PM 884 etw.bat |
The version of iisnode referenced from the Web Platform Installer for Windows Azure SDK for node.js does not support debugging node.js applications. This will change in future releases. In the meantime, in order to enable debugging as described in http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html, please uninstall 'iisnode for iis 7.x' from the Control Panel, then install a full version that supports debugging from http://go.microsoft.com/?linkid=9784330 (x86 version) or http://go.microsoft.com/?linkid=9784331 (x64 version). After installation, you should be able to see the %programfiles%\iisnode\iisnode-inspector.dll file, and debugging should work as described at http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html. |
Please reopen if the problem persists. |
OK, thanks for the information. Is there a way to make this work in the staging environment? How would one currently go about debugging something that's been published? |
hi tjanczuk, when I'm trying install iisnode for iis 7.x (x86) from the link you gave I retrieve the next error message: By the way, I'm doing so because when I install Node Power Tools on webMatrix it causing a crash and I'm getting the following error: "PrivilegedExe has stopped working." and right away retrieve the next massage: Appreciate your help. |
This is duplicate of #243. Please see a temporary workaround there. |
Well tnx. I've installed the extension Node Power Tools on webMatrix. Any suggestions? Gil. |
Greetings gilpo123, this seems like its isolated to NodePowerTools - could you create an issue over here? It may turn out that NodePowerTools makes a few assumptions about how iisnode is installed. Just to make sure - try this: Let me know how it goes! |
Hi JustinBeckwith, Everything is working just fine as long as I'm not installing NodePowerTools (via extensions on Web Matrix). |
Just copy the dll file to the folder. |
http://stackoverflow.com/questions/7334216/iis7-permissions-overview-applicationpoolidentity, I followed these instructions and it worked. Its primarily because the application pool of the deployed node application doesn't have the read write permission. |
After installing Azure SDK on a Windows 7 windows dev box VM (Parallels), built in debugger doesn't work. At the same time log over http works when enabled.
GET http://localhost/server.js/debug/
Results in:
The iisnode module is unable to deploy supporting files necessary to initialize the debugger. Please check that the identity of the IIS application pool running the node.js application has read and write access permissions to the directory on the server where the node.js application is located.
Granted NTFS permissions to 'Everyone'. Tried running the app pool as SYSTEM. To no avail. The only thing that worked for debugging was to add "--debug" via Web.Config and to install standalone node-inspector. Now I get it, but it wasn't straightforward for a newcomer.
The text was updated successfully, but these errors were encountered: