alexkrolick / debug-me-vscode

Playground for practicing debugging with Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debug-me-vscode

A playground for practicing debugging with Visual Studio Code.

Install

cd backend && yarn install
cd ..
cd frontend && yarn install

Run

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

Debug

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 ▢️ for Frontend or Backend. Add breakpoints throughout the app by clicking in the gutter.

We're expecting to see this:

screen shot 2017-10-12 at 12 35 18 am

But sometimes we end up with something like this:

screen shot 2017-10-12 at 12 35 49 am

Or this:

screen shot 2017-10-12 at 12 32 54 am

               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               🐞🐞🐞🐞🐞🐞🐞🐞🐞
               πŸ‘’πŸ‘’πŸ‘’πŸ‘’βš™οΈπŸ‘’πŸ‘’πŸ‘’πŸ‘’
               πŸ‘’πŸ‘’πŸ‘’βš™οΈβš™οΈβš™οΈπŸ‘’πŸ‘’πŸ‘’
               πŸ‘’πŸ‘’πŸ‘’πŸ‘’βš™οΈπŸ‘’πŸ‘’πŸ‘’πŸ‘’
🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞🐞

              Can you fix it? 
    Put on your debugging hat and find out! 

About

Playground for practicing debugging with Visual Studio Code


Languages

Language:JavaScript 71.3%Language:HTML 18.9%Language:CSS 9.8%