cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Debug Logging

Hi,
I can't seem to get debug logging for the Neo4j GraphQL library working.
Have tried: DEBUG=@neo4j/graphql:* node index.js
in the vs code terminal but get the following error:
DEBUG=@neo4j/graphql:* : The term 'DEBUG=@neo4j/graphql:*' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
Any help gratefully recieved,
Bard

1 REPLY 1

@bardovenden, I believe you're on Windows.

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='@neo4j/graphql:*'; node index.js"
},