{ "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" // }, { "name": "Docker Python Launch with venv", "type": "debugpy", "request": "launch", "program": "${workspaceFolder}/agent-py-bot/agent.py", "console": "integratedTerminal", "python": "/venv/bin/python", "env": { "PYTHONUNBUFFERED": "1" } }, { "name": "node: Launch server.js", "type": "node", "request": "launch", "program": "conda activate node && ${workspaceFolder}/web/server.js", "console": "integratedTerminal", "skipFiles": [ "/**" ] }, { "name": "conda task: Launch server.js", "type": "node", "request": "launch", "program": "${workspaceFolder}/web/server.js", // "preLaunchTask": "conda-activate", "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "env": { "CONDA_ENV": "node", //? //set env to dev "NODE_ENV": "development" } }, { "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}", "python": "/config/miniconda3/envs/py/bin/python", "presentation": { "clear": true }, //"preLaunchTask": "conda-activate" // Name of your pre-launch task } ] }