Migrate project from typing_practiceweb
This commit is contained in:
38
.vscode/launch.json
vendored
Normal file
38
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug Frontend",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"url": "http://localhost:3001",
|
||||
"webRoot": "${workspaceFolder}/src",
|
||||
"preLaunchTask": "Start Frontend", // 添加这行
|
||||
"sourceMapPathOverrides": {
|
||||
"webpack:///src/*": "${webRoot}/*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug Backend",
|
||||
"type": "node",
|
||||
"request": "launch", // 改为 launch
|
||||
"runtimeExecutable": "nodemon",
|
||||
"program": "${workspaceFolder}/server/server.ts",
|
||||
"restart": true,
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"port": 5858,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"outFiles": ["${workspaceFolder}/server/**/*.js"]
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Debug Full Stack",
|
||||
"configurations": ["Debug Frontend", "Debug Backend"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user