gogo2/.vscode/launch.json

39 lines
1.4 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": "python",
"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"
}
}
]
}