Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.16 KB

File metadata and controls

63 lines (40 loc) · 1.16 KB

Contributing

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/nvsecurity/nightvision-vscode.git
  1. Change directory
cd nightvision-vscode
  1. Install NPM packages
npm install
  1. Make a copy of .env.example and name it .env

  2. Edit .env and choose a port

PORT=8080

Running the extension

The one-command way:

make dev

This starts the watchers, waits for the bundles to be ready, and opens an Extension Development Host window. Closing that window shuts the watchers down again.

Alternatively, to run with the debugger attached:

  1. Start the server
npm run watch
  1. Open the repo in VSCode

  2. Run and Debug (Press F5) to open a new window with the extension loaded

Disclaimer

To use this plugin, you will need a NightVision account. The plugin uses NightVision's API and command line to scan the code, scan the running application, and enrich the results provided into the IDE.