codyseibert / tab-tracker

A Vue.js / Express.js web application for keeping track of guitar tabs
MIT License
520 stars 197 forks source link

How to debug the code using breakpoints #14

Open tribhuwank opened 6 years ago

tribhuwank commented 6 years ago

Hi Cody ,

I like very much the way you make us lean the vuejs, sequilize and many more. And hope to have more in 2018 also. And also need your help to have a good practice and technique to debug the code for tab-tracker.I try myself also using chrome debugging technique as suggested online.using launch.js in VS Code studio.

"version": "0.2.0", "configurations": [

{
    "type": "chrome",
    "request": "attach",
    "name": "Attach to Chrome",
    "sourceMaps": true,
    "url": "http://localhost:8081",
    "webRoot": "${workspaceFolder}/src"
},
    {
        "type": "chrome",
        "request": "launch",
        "name": "Launch Chrome against localhost",
        "sourceMaps": true,
        "url": "http://localhost:8080",
        "webRoot": "${workspaceFolder}/src"
    }
]

and not able to reached to debug server part.

Thanks & Regards Tribhuwan Kushwah