1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 06:18:02 +09:00

VSCode 디버거 셋업

This commit is contained in:
DW 2019-11-06 23:45:31 +11:00
parent 2cde70c368
commit 6ef91605e6
4 changed files with 71 additions and 1 deletions

View File

@ -1,3 +1,3 @@
VIRTUAL_HOST=localhost:8080
VIRTUAL_HOST=localhost:3000
TWITTER_CONSUMER_KEY=6A0tknTUMd4ZagM88inMUiHOd
TWITTER_CONSUMER_SECRET=atACgq90R49FbDDPTEKHVacucCNMYKoDaDbyAYxGzh6qcnAoA8

31
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,31 @@
{
// 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": "TSC Build and Debug",
"program": "${workspaceFolder}\\src\\server\\index.ts",
"env": { "MONGODB_URL": "mongodb://localhost/quesdon", "BACK_PORT": "3000" },
"preLaunchTask": "build",
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
},
{
"type": "node",
"request": "launch",
// "name": "Yarn start",
// "runtimeExecutable": "yarn",
// "runtimeArgs": [ "start" ],
"name": "TSC Debug without Build",
"program": "${workspaceFolder}\\src\\server\\index.ts",
"env": { "MONGODB_URL": "mongodb://localhost/quesdon", "BACK_PORT": "3000" },
// "stopOnEntry": false,
// "preLaunchTask": "build",
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
}
]
}

14
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "yarn build",
"type": "shell",
"group": "build",
"problemMatcher": []
}
]
}

View File

@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
},
"include": [
"src"
]
}