Last active
March 30, 2021 02:40
-
-
Save tmkasun/d57ba31a44eb611c252843cdcaf58885 to your computer and use it in GitHub Desktop.
vscode launch file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "DebugWebpack", | |
"address": "localhost", | |
"port": 9229, | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "Absolute path to the remote directory containing the program" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest All", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ | |
"--runInBand" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest" | |
} | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "WebPack Devserver", | |
"program": "${workspaceFolder}/node_modules/webpack-dev-server/bin/webpack-dev-server.js", | |
"args": [ | |
"--compress", | |
"--hot-only", | |
"--https", | |
"--port", | |
"8081", | |
"--mode", | |
"development", | |
], | |
"env": { | |
"NODE_ENV": "analysis" | |
}, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Current File", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ | |
"${relativeFile}", | |
"--config", | |
"jest.config.js", | |
"--detectOpenHandles" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest" | |
} | |
}, | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome against localhost", | |
"url": "https://localhost:8081/publisher/", | |
"webRoot": "${workspaceFolder}/source", | |
"sourceMaps": true, | |
"trace": true, | |
"sourceMapPathOverrides": { | |
"webpack:///./source/*": "${webRoot}/*" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment