Having trouble debugging your code? Can't see the data that's supposed to be there? Here is a list of things you probably want to check first:
Given that you are working in a Docker/cloud environment:
Dockerfile
Docker-compose
filevariable names
container names
endpoints
Docker containers
variable values
logs
Database
DB status: is your DB running?
data status: is your data there? Are they seeded correctly?
data referencing:
Are the values updated?
If your code needs to fetch data using
sql
statements that refer to multiple attributes, check if:all the attribute names are correct
all the values referred to are correct AND up-to-date (some values might be regularly updated or changed) - for example, your gitpod workspace' IP address.
Your code
Typo, misspellings
return
is actually returning somethingDatatype
When your codes pass around data, see if:
Input & Output data have the expected data structures
Data returned by
return
statement has the expected data structure