Skip to content

Debugging COSMOS #1334

Answered by ghost
stanislaw asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

On the surface, one thing that can help a lot in addition to the browser console is the network tab in the browser dev tools. This will show you the actual response from the web server (e.g. was it json with an error message? html page? etc), in addition to any headers and all other data related to the request that returned a 400 or 500. However, the dev tools must already be open when the error occurs in order for this network data to be captured, so I typically just leave that open in the background at all times while I'm working on COSMOS. You can also use a tool like Postman to modify and repeat these XHR requests against the API, but this is something I haven't actually done m…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
1 participant