JavaScript Debugging

Aus Info-Theke
Zur Navigation springen Zur Suche springen


VSCode[Bearbeiten]

  • Extension: Debugger for Firefox
  • Starter:
{
  "name": "Firefox-Starter",
  "type": "firefox",
  "request": "launch",
  "reAttach": true,
  "file": "${workspaceFolder}/public/index.html"
},   

JUNIT debuggen[Bearbeiten]

  • npm install mocha
node_modules/mocha/bin/mocha --inspect-brk
  • Chrome: Extension NIM (Node-Inspector Manager) installieren
  • Source-Datei laden
  • Breakpoint setzen