Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.46 KB

README.md

File metadata and controls

63 lines (44 loc) · 2.46 KB

Sentry

Sentry Integration for Visual Studio Code

VSCode extension to browse Sentry issues and navigate stack traces directly in VSCode.

Features

  • Browse Sentry projects and issues from VSCode
  • Launch the debugger to navigate stack traces and see variables

screen shot 2018-08-10 at 19 38 27

Requirements

This extension requires a Sentry account. You can sign up for free and then follow the quickstart guide to set up a project and integrate it into your software.

Installation

For now:

npm install -g vsce
vsce package
code --install-extension *.vsix

Usage

Install sentry-cli and set it up. The VSCode extension will pick up the authentication information from sentry-cli.

Run the command Sentry: Search Issues from the command palette (CMD + Shift + P or Ctrl + Shift + P) and enter a search term. You can also use all search filters that work on the Sentry issues page. Then, select an issue from the list.

To start a debugging session, choose Launch debugger on Issue from the actions panel. Please note that your workspace needs to contain the project sources or search paths have to be configured. See Extension Settings for more information on configuration.

Extension Settings

This extension contributes the following settings:

  • sentry.enabled: Enable or disable this extension
  • sentry.serverUrl: Use a custom on-premise server
  • sentry.projects: Select projects for searching issues
  • sentry.searchPaths: Local paths to search for source files

Development

Please feel free to open issues or PRs. To build and run this configuration, open this repository in VSCode and run the Extension target. To run tests, run the Extension Tests target.