launch settings changed
This commit is contained in:
57
.vscode/launch.json
vendored
57
.vscode/launch.json
vendored
@ -1,35 +1,27 @@
|
||||
{
|
||||
// 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 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"
|
||||
// },
|
||||
{
|
||||
"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
|
||||
"python": "/venv/bin/python",
|
||||
"env": {
|
||||
"PYTHONUNBUFFERED": "1"
|
||||
}
|
||||
@ -42,7 +34,24 @@
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
]
|
||||
|
||||
},
|
||||
{
|
||||
"name": "Python Debugger: Python File",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${file}"
|
||||
},
|
||||
{
|
||||
"name": "Python Debugger: Python File with Conda",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "integratedTerminal",
|
||||
"python": "${command:python.interpreterPath}",
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"preLaunchTask": "conda-activate" // Name of your pre-launch task
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user