How to Debug RSSHub

Author Avatar
Young Hug Nov 17, 2020

This article is a simple introduce for how to debug RSSHub.

Workflow

The workflow is simple. There are only three steps to do this.

Download Source

Using git clone

1
git clone https://github.com/DIYgod/RSSHub

Install Npm repo

1
npm install

Using VScode Debug

  1. Click the Debug/run icon
  2. add your breakpoint
  3. select debug node(preview) and choose npm run dev

Enjoy~ 🍻️

FAQ

  1. npm install and get a error gyp: No Xcode or CLT version detected!
1
2
3
xcode-select --print-path
rm -rf {thePathPrinted}
xcode-select --install

This blog is under a CC BY-NC-SA 3.0 Unported License
Link to this article: https://younggod.netlify.app/2020/11/17/practice/rsshub/debugWithRsshub/