Seiten
Inhalt
Guide
Installation
| npm install --save-dev @xpulse/debug --registry=https://npm.xpulse.one |
CLI
| npx xpulse debug:events:list |
| npx xpulse debug:config:show |
| npx xpulse debug:routes:list |
| npx xpulse debug:packages:list |
| npx xpulse debug:app:bootstrap |
Die Commands erscheinen nur, wenn die jeweiligen Packages installiert sind.
Web Profiler
Wenn debug=true und @xpulse/template installiert ist, ist der Web Profiler aktiv.
Die Toolbar wird in HTML Responses injiziert und verlinkt auf:
/_debug/web-profiler/<traceId>/summary/
Profiler Cache wird pro Trace gespeichert:
| var/cache/debug/_<traceId>/ |
| trace.json |
| packages/ |
| http.json |
| router.json |
| controller.json |
| template.json |
| events.json |
| logger.json |
| config.json |
| toolbar.json |