launch settings changed
This commit is contained in:
parent
eddf32a804
commit
fa43c028f5
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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
// {
|
||||||
"name": "Docker Node.js Launch",
|
// "name": "Docker Node.js Launch",
|
||||||
"type": "docker",
|
// "type": "docker",
|
||||||
"request": "launch",
|
// "request": "launch",
|
||||||
"preLaunchTask": "docker-run: debug",
|
// "preLaunchTask": "docker-run: debug",
|
||||||
"platform": "node"
|
// "platform": "node"
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
"name": "Docker Python Launch?",
|
// "name": "Docker Python Launch?",
|
||||||
"type": "python",
|
// "type": "python",
|
||||||
"request": "launch",
|
// "request": "launch",
|
||||||
"program": "${workspaceFolder}/agent-py-bot/agent.py",
|
// "program": "${workspaceFolder}/agent-py-bot/agent.py",
|
||||||
"console": "integratedTerminal",
|
// "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",
|
"name": "Docker Python Launch with venv",
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/agent-py-bot/agent.py",
|
"program": "${workspaceFolder}/agent-py-bot/agent.py",
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"python": "/venv/bin/python", // Path to the Python interpreter in your venv
|
"python": "/venv/bin/python",
|
||||||
"env": {
|
"env": {
|
||||||
"PYTHONUNBUFFERED": "1"
|
"PYTHONUNBUFFERED": "1"
|
||||||
}
|
}
|
||||||
@ -42,7 +34,24 @@
|
|||||||
"skipFiles": [
|
"skipFiles": [
|
||||||
"<node_internals>/**"
|
"<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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
42
.vscode/tasks.json
vendored
42
.vscode/tasks.json
vendored
@ -1,24 +1,24 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
// {
|
||||||
"type": "docker-build",
|
// "type": "docker-build",
|
||||||
"label": "docker-build",
|
// "label": "docker-build",
|
||||||
"platform": "node",
|
// "platform": "node",
|
||||||
"dockerBuild": {
|
// "dockerBuild": {
|
||||||
"dockerfile": "${workspaceFolder}/Dockerfile",
|
// "dockerfile": "${workspaceFolder}/Dockerfile",
|
||||||
"context": "${workspaceFolder}",
|
// "context": "${workspaceFolder}",
|
||||||
"pull": true
|
// "pull": true
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
"type": "docker-run",
|
// "type": "docker-run",
|
||||||
"label": "docker-run: release",
|
// "label": "docker-run: release",
|
||||||
"dependsOn": [
|
// "dependsOn": [
|
||||||
"docker-build"
|
// "docker-build"
|
||||||
],
|
// ],
|
||||||
"platform": "node"
|
// "platform": "node"
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// "type": "docker-run",
|
// "type": "docker-run",
|
||||||
// "label": "docker-run: debug2",
|
// "label": "docker-run: debug2",
|
||||||
@ -85,6 +85,12 @@
|
|||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new"
|
"panel": "new"
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "conda-activate",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "conda activate py && echo 'Activated Conda Environment (py)!'",
|
||||||
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user