Created
August 14, 2019 10:15
-
-
Save jsuryahyd/9fc53bee9e2b471c1d5805a2222b952e to your computer and use it in GitHub Desktop.
typescript project vscode debugging inside .vscode folder
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": "launch", | |
"name": "Launch Development", | |
"program": "${workspaceFolder}/back-end/build/index.js", | |
"preLaunchTask": "tsc", | |
// "env": { "ENVIRONMENT": "DEVELOPMENT", "TZ": "Asia/Kolkata" }, | |
// "envFile": "${workspaceFolder}/back-end/.env" | |
}, | |
{ | |
"name": "Attach to packager", | |
"program": "${workspaceRoot}/.vscode/launchReactNative.js", | |
"type": "reactnative", | |
"request": "attach", | |
"sourceMaps": true, | |
"outDir": "${workspaceRoot}/.vscode/.react" | |
}, | |
{ | |
"name": "Debug Android", | |
"program": "${workspaceRoot}/.vscode/launchReactNative.js", | |
"type": "reactnative", | |
"request": "launch", | |
"platform": "android", | |
"sourceMaps": true, | |
"outDir": "${workspaceRoot}/.vscode/.react" | |
},{ | |
"name":"attach to development", | |
"request":"attach", | |
"type":"node" | |
} | |
] | |
} |
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
{ | |
"eslint.enable": true, | |
"eslint.run": "onType", | |
"eslint.autoFixOnSave": true, | |
"files.watcherExclude": { | |
"**/.svn/*": true, | |
"**/android/*": true, | |
"**/ios/*": true | |
}, | |
"eslint._legacyModuleResolve": true, | |
"search.exclude": { | |
"**/android/*": true, | |
"**/ios/*": true | |
}, | |
"react-native-tools.projectRoot": "mobile", | |
"emmet.includeLanguages": { "javascript": "javascriptreact" } | |
} |
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "typescript", | |
"tsconfig": "back-end/tsconfig.json", | |
"problemMatcher": [ | |
"$tsc" | |
], | |
"label": "tsc" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment