mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 19:45:26 +00:00
move old docs over
This commit is contained in:
19
site/content/docs/15-debugging.md
Normal file
19
site/content/docs/15-debugging.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Debugging
|
||||
---
|
||||
|
||||
Debugging your server code is particularly easy with [ndb](https://github.com/GoogleChromeLabs/ndb). Install it globally...
|
||||
|
||||
```bash
|
||||
npm install -g ndb
|
||||
```
|
||||
|
||||
...then run Sapper:
|
||||
|
||||
```bash
|
||||
ndb npm run dev
|
||||
```
|
||||
|
||||
> This assumes that `npm run dev` runs `sapper dev`. You can also run Sapper via [npx](https://blog.npmjs.org/post/162869356040/introducing-npx-an-npm-package-runner), as in `ndb npx sapper dev`.
|
||||
|
||||
Note that you may not see any terminal output for a few seconds while ndb starts up.
|
||||
Reference in New Issue
Block a user