Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dartmax/6b60838111c5a5cfa6420f0ff147d77e to your computer and use it in GitHub Desktop.

Select an option

Save dartmax/6b60838111c5a5cfa6420f0ff147d77e to your computer and use it in GitHub Desktop.
How to debug gatsby and reactjs with idea WebStorm with cross-env
{
"name": "project-name",
"version": "1.0.0",
"description": "",
"main": "n/a",
"scripts": {
"serve": "gatsby develop -p 5000",
"dev": "cross-env node $NODE_DEBUG_OPTION ./node_modules/.bin/gatsby develop -p 5000",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment