Skip to content

Instantly share code, notes, and snippets.

@branflake2267
Created January 7, 2019 06:35
Show Gist options
  • Save branflake2267/b9c23d5b15bd68c1e20c48aeed38a505 to your computer and use it in GitHub Desktop.
Save branflake2267/b9c23d5b15bd68c1e20c48aeed38a505 to your computer and use it in GitHub Desktop.
Debug Ext JS in VSCode using these launchers. Includes WebPack Dev Server Launcher and Chrome Debugger launcher.
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug App",
// https://github.com/webpack/docs/wiki/webpack-dev-server
"program": "${workspaceFolder}/node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"args": [
"--env.browser=false",
"--env.environment=development",
"--env.verbose=no",
"--hot",
"--inline",
"--client-log-level=info",
"--config",
"webpack.config.js"
],
"env": {
"environment": "development"
},
"autoAttachChildProcesses": true
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:1962",
"webRoot": "${workspaceFolder}",
}
]
}
@branflake2267
Copy link
Author

This video covers using these launchers: https://youtu.be/cXrvLcyGbXM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment