If you post your
routes.yml file, and explain what you’re trying to do, someone from the community might be able to help you out!
That being said, here’s some useful information:
Ghost uses the debug node library for exhaustive debugging.
You can use this module with the CLI by running (on linux, and possibly OSX)
DEBUG=ghost:* ghost run -D in your instance folder.
DEBUG=ghost:* specifies you only want messages that come sources like
ghost: (there are other message sources, such as the CLI, and some of Ghost’s dependencies, like knex and express, which are probably going to be more annoying than helpful for you)
ghost run -D runs Ghost in development mode interactively. This means until you terminate the proess (ctrl + c), your console won’t be usable, as Ghost has “taken it over” - you’ll see all the logs in realtime
You can get even more fancy by being even more selective - for example, for routing, you might use
That being said, it’s not the easiest thing to debug routes like that, reading debug logs is not usually fun!
Again if you post your
routes.yml file, and explain what you’re trying to do, someone from the community might be able to help you out