Skip to content

Latest commit

 

History

History
35 lines (16 loc) · 1.08 KB

README.md

File metadata and controls

35 lines (16 loc) · 1.08 KB

a simple plugin for sublime text2/3 to debug node file in WebKit based browser.(Similar to node-debug)

Getting Started

Requirements

Install

  1. install node-inspector (global mode) with npm

     $ npm install -g node-inspector
    

    ps: if you have trouble with node-inspector when installing in windowxp or window7, you can find answer in this link: Installing node-inspector on Windows or update npm version .

  2. download and unzip it (rename to 'Nodejs Debug'). open the packages folder by clicking the Preferences > Browser packages... entry in your sublime text. then copy unziped folder in this folder.

Debugging

  1. open a node.js file in sublime text

  2. press ctrl+alt+b or click item 'Nodejs Debug' on contextmenu

then you can debug your code in browser .