【发布时间】:2021-05-20 15:59:27
【问题描述】:
在 Anaconda 上启动 VSCode 时,我遇到了一些问题。 注意:我在 Win 10 上运行 VsCode 1.52.1 - 在 Anaconda 中
在早期,我使用 platform.io 安装了 VSCode - 但这是很久以前的事了。现在我想执行一个 python 脚本——但这不起作用——我得到了下面的图像 图片
然后我选择了“打开 Launch.json” - 查看相应的图片:
但我不知道在这里做什么?!
/ / PIO Unified Debugger
//
// Documentation: https://docs.platformio.org/page/plus/debugging.html
// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html
{
"version": "0.2.0",
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
"executable": "c:/Users/tarifa/Documents/PlatformIO/Projects/ESP/.pio/build/esp32dev/firmware.elf",
"projectEnvName": "esp32dev",
"toolchainBinDir": "C:/Users/tarifa/.platformio/packages/toolchain-xtensa32/bin",
"internalConsoleOptions": "openOnSessionStart",
"preLaunchTask": {
"type": "PlatformIO",
"task": "Pre-Debug"
}
},
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug (skip Pre-Debug)",
"executable": "c:/Users/tarifa/Documents/PlatformIO/Projects/ESP/.pio/build/esp32dev/firmware.elf",
"projectEnvName": "esp32dev",
"toolchainBinDir": "C:/Users/tarifa/.platformio/packages/toolchain-xtensa32/bin",
"internalConsoleOptions": "openOnSessionStart"
}
]
}
我想我必须对 VSCode 进行更多配置 顺便提一句。似乎是这样,我可以将 VScode 从版本 1.52.xy 更新/升级到更新版本!?
更新:
我仍然在设置问题 - 我想我必须跳过并扔掉所有 esp32 和所有其他微控制器 /platformio 的东西。它们会导致很多问题
【问题讨论】:
标签: python visual-studio-code anaconda