Giter Club home page Giter Club logo

node-tools's Introduction

Node.js Tools for Visual Studio 2012

Node Tools is extension for Visual Studio which provides support for editing and debugging node.js applications.

Node.js Tools on Visual Studio Gallery

Table Of Contents

Features

Node.js Projects

Node Tools package extends Visual Studio project system by njsproj type. Project templates can be found in the New Project dialog under JavaScript -> Web subcategory.

Debugger

Node Tools brings full debugging capability for a node.js applications. You navigate thought stacktraces (backtraces), change variable values, set conditional breakpoints and breaks on JavaScript exceptions.

Node Package Manager Console

Since npm is a standard de-facto for node.js modules Node Tools provides special console window for a package management purposes. So you can easily type usual commands inside of Visual Studio.

Nuget Package Manager

Also do not forget about regular nuget packages which can allow your scripts be up to date. Just use Nuget Package Manager dialog or console window.

Installation

Installation process is really straightforward:

  • Install package inside Visual Studio by typing "Node Tools" in the Extensions and Updates dialog or download it from Visual Studio Gallery page
  • Download & install node.js installer from the download page
  • Download & extract archive with a node.js source code from the download page

Configuration

Node Tools Settings

Node Tools can automatically determine node.exe interpreter location, but if you want to launch concrete node.js interpreter version you can do that by click on Tools -> Options menu in the Node.js Tools dialog. Here you can change following settings:

  • Node.js location
  • Node.js startup parameters

Node.js Source Code Debugging

Currently to provide Visual Studio ability to navigate throught stacktraces during debugging session you should:

  • Open properties dialog from the solution context menu
  • Select Debug Source Files under Common Properties category
  • Add to list src and lib folders from the extracted node.js source code archive (see installation section)

Node.js Debugger Settings

By default node.js lunched to accept debigging sessions on the port 5858. You can customize that at the project settings. Here you can change following settings:

  • Debug port
  • Startup file

Contribution

Your feedback is very welcome. Please feel free to create issues and write you comments.

If you want to provide code contribution please fork this repository and create a pull request.

Launching Project

  • Clone this repository and open NodeTools.sln
  • Set NodeTools project as startup and open project properties
  • In the Debug screen check Start external program and choose devenv.exe path
  • Also in the Command line arguments set /RootSuffix Exp

License

Project source code is licensed under Apache 2.0. It contains portions of code from Microsoft Corporation and Outercurve Foundation.

node-tools's People

Contributors

dtretyakov avatar omgtehlion avatar

Watchers

Mark Dirksma avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.