houfeng0923 / sublimetext-node-debugger

a simple plugin for sublime text2/3 to debug node file in browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 .

About

a simple plugin for sublime text2/3 to debug node file in browser


Languages

Language:Python 100.0%