Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Effective Debugging Apps in VS Code

murajun1978
November 15, 2018

Effective Debugging Apps in VS Code

murajun1978

November 15, 2018
Tweet

More Decks by murajun1978

Other Decks in Programming

Transcript

  1. "configurations": [ { "type": "chrome", "request": "launch", "name": "Debug Render",

    "url": "http://localhost:3000", "webRoot": "${workspaceFolder}" }, { "type": "node", "request": "launch", "name": "Debug Server", "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next", "runtimeArgs": [ "--inspect", ], "port": 9229, } ], "compounds": [ { "name": "Debug Next.js", "configurations": ["Launch Chrome", "Debug Server"] } ]
  2. "configurations": [ { "type": "chrome", "request": "launch", "name": "Debug Render",

    "url": "http://localhost:3000", "webRoot": "${workspaceFolder}" }, { "type": "node", "request": "launch", "name": "Debug Server", "runtimeExecutable": "node", "runtimeArgs": [ "--inspect", "server.js" ], "port": 9229, } ], "compounds": [ { "name": "Debug Next.js", "configurations": ["Launch Chrome", "Debug Server"] } ]