ytptube/.vscode/launch.json

45 lines
1.2 KiB
JSON

{
// 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": [
{
"name": "Node: App.Vue",
"request": "launch",
"runtimeArgs": [
"run",
"serve",
"--",
"--port",
"3000"
],
"runtimeExecutable": "npm",
"type": "node",
"cwd": "${workspaceFolder}/frontend",
"env": {
"VUE_APP_BASE_URL": "http://localhost:8081",
}
},
{
"name": "Python: main.py",
"type": "debugpy",
"request": "launch",
"program": "app/main.py",
"console": "internalConsole",
"env": {
"YTP_CONFIG_PATH": "${workspaceFolder}/var/config",
"YTP_DOWNLOAD_PATH": "${workspaceFolder}/var/downloads",
"YTP_TEMP_PATH": "${workspaceFolder}/var/tmp",
"YTP_URL_HOST": "http://localhost:8081",
"YTP_LOG_LEVEL": "DEBUG"
}
},
{
"name": "Python: attach to process.",
"type": "debugpy",
"request": "attach",
"processId": "${command:pickProcess}",
}
]
}