After you install node. js, choose a beneficial IDE for your development.After comparing multiple Ides, it is positioned on webstrom and sublime.There is a simple comparison:Webstorm feature is very rich, the front-end development tool of the synthesizer, compared to sublime slightly heavierSublime plug-in is also very rich, the interface is more beautiful, very
Code management is a very important part of a software application development process, and many programmers need efficient code editing and debugging tools to do their work more accurately and quickly, which may be why there is an IDE (integrated development environment). An IDE has a source code editor, code debugger, code completion function, build automation
Studio to tell you where your program consumes its time.Tip: See above file| is the dialog box for New project? Visual Studio follows the development language organization type, so node. JS is under the JavaScript classification. But you also notice the classification of iOS and android,typescript,vb,f# in the python,django,c# category in Visual Studio.One of the things that impresses me is that when they
Visual Studio changes Node. js IDE and studionode. js in one second
(This article is also published in my public account "dotNET daily excellent article ")
Microsoft released a plug-in last month to transform Visual Studio into the most powerful Node.
(This article is also published in my public number "dotnet daily Essence article") Last month Microsoft released a plugin that would allow Visual Studio to become the most powerful node. JS Developer tool in a second. Now that the source code has moved to GitHub, it also provides an azure virtual machine image for your convenience. Although Visual Studio has always been called the most powerful
Original address: Http://www.csdn.net/article/2013-11-22/2817594-Introducing-node.js-Tools-for-Visual-StudioPreviously, the CSDN research and Development channel reported an article in Visual Studio that could be used as a Python IDE, introducing a PTVs plugin that developers can use to program Python in Visual Studio after installation. Now, the PTVs development team has developed a plug-in--ntvs (node.
What is node. js ?! Http://www.ibm.com/developerworks/cn/opensource/os-nodejs/index.html? CA = Drs
1. Install nodejs. nodejs has provided the compiled files on various platforms. http://nodejs.org/#download, all the way to nextand complete.
2. Install webstorm: webstorm is a commercial software and can be used for free for 30 days. Thanks to the MVP project, we have obtained a license from webstorm for on
means that everything and every independent call and operation on it are a series of asynchronous callbacks. This makes Node. js run on one thread, which is different from other Web technologies. Each client request generates a new thread for processing. This is exactly the essence of non-blocking I/O.
Support for object databases
In Node. it is very common to u
If you're writing the node. JS code, Node-inspector is a must-have option, much better than node. JS's built-in debugger. It's similar to Chrome's JavaScript debugger.To install with NPM:$ npm install -g node-inspectorThen you nee
directory is the nodetest1 directory. Enter:
The Code is as follows:
C: \ node \ nodetest1> node app. js
After you press enter, you will see:
The Code is as follows:
Express server listening on port 3000
Great. Open your browser and enter http: // localhost: 3000. You should be able to see a welcome page of Express.
Now you have run your own
directory is the nodetest1 Directory. enter:
The code is as follows:
C: \ node \ nodetest1> node app. js
After you press enter, you will see:
The code is as follows:
Express server listening on port 3000
Great. Open your browser and enter http: // localhost: 3000. you should be able to see a welcome page of Express.
Now you have run your own
For node. JS Development, in the case of the IDE,Webstorm is not the second choice, but it is chargeable (free to use for 30 days). First, let's start by using notepad++ to write the node. JS application. There's a big benefit to this: there's no code highlighting and auto-c
, he finally found the culprit in the Node kernel: The Event listener in http. ClientRequest was not released. (The patch that finally fixes this problem has only two but crucial letters ). This painful experience prompted Lloyd to write a tool that can help find memory leaks.
Memory Leak locating Tool
There are already many easy-to-use and constantly enhanced tools to locate the memory leakage of Node.
Memory Leak Tutorial) is a short and cool v8-profiler and node-debugger usage Tutorial. It is also the most advanced Node. js Memory Leak debugging technical guide.
Joyent's SmartOS platform provides a large number of tools for debugging Node.
Memory Leak Tutorial) is a short and cool v8-profiler and node-debugger usage Tutorial. It is also the most advanced Node. js memory leak debugging Technical Guide.
Joyent's SmartOS platform provides a large number of tools for debugging Node.
mozilla's website. Developer.mozilla.org/en/docs/JavaScript/ReferenceWhich ide is generally used to edit nodejs?
I have been using sublime .. Install a node plug-in. However, I only use one plug-in to automatically complete console. log, and syntax highlighting... =. Actually, I am familiar with js. If I write node, I
3.1 Console/19 in node. js3.1.1 Console.log method/193.1.2 Console.error Method/203.1.3 Console.dir Method/213.1.4 Console.time Method and Console.timeend method/223.1.5 Console.trace Method/223.1.6 Console.assert Method/233.2 Global scope and global functions in node. js/233.2.1 Global scope/23 in node. js3.2.2 settim
Three Node. js code optimization methods you have not known, and three node. js codes are unknown.
The running of Node. js programs may be limited by the CPU or input/output operations, but it is very slow. From the CPU perspectiv
Node. js debugging skills, node. js debugging
Author: zhanhailiang Date:
1. console. log
Similar to front-end debugging, code debugging is performed by printing related variables step by step.
2. Use the Node. js built-in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.