Skip to content

Instantly share code, notes, and snippets.

@emizzle
Created January 29, 2019 01:50
Show Gist options
  • Save emizzle/d8aeff68de33aa35e88623af828ab4f6 to your computer and use it in GitHub Desktop.
Save emizzle/d8aeff68de33aa35e88623af828ab4f6 to your computer and use it in GitHub Desktop.
VSCode debug npm script (in the dApp package.json)
"scripts": {
"embark": "node ../../bin/embark",
"test": "npm run embark test",
"test-debug": "node --inspect-brk=9229 ../../bin/embark test"
},
@emizzle
Copy link
Author

emizzle commented Jan 29, 2019

In VSCode, must have Auto Attach: On.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment