更新时间:2021-07-15 17:24:28
cover
Title Page
Third Edition
Copyright
Node Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
About nearForm
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Debugging process*
Introduction
Debugging Node with Chrome Devtools
Getting ready
How to do it...
How it works...
There's more...
Using node-inspector with older Node versions
Immediately pausing a process on start
node debug
See also
Enhancing stack trace output
Infinite stack trace limit in development
Stack trace layout
Asynchronous stack traces
Enabling debug logs
Instrumenting code with debug
Using debug in production
JSON logging with pino-debug
Enabling core debug logs
Creating our own NODE_DEBUG flags
Debugging Node core libraries
Writing Modules
Scaffolding a module
Reinitializing
Versioning
Installing dependencies
Installing development dependencies
Using npm run scripts
Eliminating the need for sudo
Writing module code
Adding tests
Modernizing syntax
Publishing a module
Detecting Vulnerabilities
Extraneous dependencies
Prepublish
Decentralized publishing
Using a private repository