How to run Node JS graphql neo4J app with DEBUG mode in Windows 10 machine

I came across that I can run graphql neo4j Node JS app in DEBUG mode to view the Cypher queries behind and below NPM script is suggest!

"scripts": {
  "start": "DEBUG=@neo4j/graphql:* node index.js"
},

I am getting error in Window 10 command prompt like, What's the solution here?

'DEBUG' is not recognized as an internal or external command,

14

If you are used to powershell, I recommend this setup in your package.json , then you can just run npm start so you don't type all that out every time.

"scripts": {
    "start": "@powershell $env:DEBUG='*,-express:router*' ; node app.js"
},