Skip to content

tanben/vsc-nr1-debugger-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewRelic One Debugger Extension for Visual Studio Code

VisualStudio Marketplace VSCodeVersion

Debug New Relic One application on Visual Studio code using this extension.

Features

Generate Chrome and Firefox launch configuration for debugging New Relic One applications (Nerdpack). Create launch configurations for:

  1. Chrome browser
  2. Firefox browser

Requirements

Visual Studio Code Debugger extension:

Installation

  1. Open Run/Debug viewlet and select create a launch.json file.
  2. Create launch configuration for either Chrome or Firefox from the dropdown choose either:
> NR1: Chrome Launch
  NR1: Firefox Launch

Launch Configurations

Chrome Browser

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Nr1: Chrome Launch",
      "type": "chrome",
      "request": "launch",
      "smartStep": true,
      "showAsyncStacks": true,
      "url": "https://one.newrelic.com/launcher/nr1-core.home?nerdpacks=local",
      "pathMapping": {
        "webpack://__nr_modules./[name]/nerdlets": "${workspaceFolder}/nerdlets"
      }
    }
  ]
}

Firefox Browser

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "NR1: Firefox Launch",
      "type": "firefox",
      "request": "launch",
      "reAttach": true,
      "url": "https://one.newrelic.com/launcher/nr1-core.home?nerdpacks=local",
      "pathMappings": [
        {
          "url": "webpack://__nr_modules./[name]/nerdlets",
          "path": "${workspaceFolder}/nerdlets"
        }
      ]
    }
  ]
}

Releases

No releases published

Packages

No packages published