A playground for practicing debugging with Visual Studio Code.
cd backend && yarn install
cd ..
cd frontend && yarn install
With VSCode: Open the Tasks menu and run "Frontend dev server" and "Backend dev server" from the menu.
Command line: yarn dev
in both directories
There are two branches that contain bugs: frontend-bug
and backend-bug
. Check one out and open VSCode.
Open the VSCode Debug () panel and press ๐
We're expecting to see this:
But sometimes we end up with something like this:
Or this:
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐๐๐๐๐๐๐๐๐
๐ข๐ข๐ข๐ขโ๏ธ๐ข๐ข๐ข๐ข
๐ข๐ข๐ขโ๏ธโ๏ธโ๏ธ๐ข๐ข๐ข
ย ย ย ย ย ย ย ๐ข๐ข๐ข๐ขโ๏ธ๐ข๐ข๐ข๐ข
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐
Can you fix it?
Put on your debugging hat and find out!