48 lines
1.6 KiB
JSON
48 lines
1.6 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": "Docker Node.js Launch",
|
|
"type": "docker",
|
|
"request": "launch",
|
|
"preLaunchTask": "docker-run: debug",
|
|
"platform": "node"
|
|
},
|
|
{
|
|
"name": "Docker Python Launch?",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/agent-py-bot/agent.py",
|
|
"console": "integratedTerminal",
|
|
// "python": "${command:python.interpreterPath}", // Assumes Python extension is installed
|
|
// "preLaunchTask": "docker-run: python-debug", // You may need to create this task
|
|
// "env": {
|
|
// "PYTHONUNBUFFERED": "1"
|
|
// }
|
|
},
|
|
{
|
|
"name": "Docker Python Launch with venv",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/agent-py-bot/agent.py",
|
|
"console": "integratedTerminal",
|
|
"python": "/venv/bin/python", // Path to the Python interpreter in your venv
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "node: Launch server.js",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "conda activate node && node web/server.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
|
|
}
|
|
]
|
|
} |