Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deepraining/source-error

通过 map 文件查看 JavaScript 报错的原始信息. To see the original information of JavaScript error through map file.
https://github.com/deepraining/source-error

error map source stack tool uglify

Last synced: about 5 hours ago
JSON representation

通过 map 文件查看 JavaScript 报错的原始信息. To see the original information of JavaScript error through map file.

Awesome Lists containing this project

README

        

# source-error

[中文文档](./README.md)

To see the original information of JavaScript error through map file.

## quick start

Install:

```
npm install source-error -g
```

Usage:

```
source-error [options] [extraDirs...]
```

## options

- `-l, --line `: error line
- `-c, --column `: error column
- `-m, --map `: map file path (if starts with `http://` or `https://`, it will be treated as url, any others will be treated as local file path)