Skip to content

debugger

nodejs

vscode launch.json

use inspect

node --nolazy --inspect-brk ./scripts/jest/jest-cli.js ReactSmoosh

Then Open chrome://inspect and press "inspect"

WEBAPP

console.log + debugger

使用 attach 模式: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=remote-debug-profile