VSCode 配置问题 - 关于 Anaconda :: 来自系统的调试投诉 [英] VSCode configuation issues - on Anaconda :: debugging-complaints from the system

查看:80
本文介绍了VSCode 配置问题 - 关于 Anaconda :: 来自系统的调试投诉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Anaconda 上启动 VSCode 时,我遇到了一些问题.注意:我在 Win 10 上的 Anaconda 中运行 VsCode 1.52.1

while starting VSCode on Anaconda i just ran into some issues. Note: i run VsCode 1.52.1 - in Anaconda on Win 10

在早些时候,我使用 platform.io 安装了 VSCode - 但这是很久以前的事了.现在我想执行一个 python 脚本——但这不起作用——我得到了下图图片

In earlier times i had VSCode installed with platform.io - but this was long time ago. now i wanted to execude a python script - but this did not work - i got back the following image image

然后我选择了打开 Launch.json";- 查看相应图片:

and then i choosed "open Launch.json " - see the according image:

但我不知道在这里做什么?!

but i am not sure what to do here?!

/ / 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 升级到更新版本!?

well i guess that i have to do some more configurations of the VSCode btw. it seems to be so, that i can update /& upgrade VScode form Version 1.52.xy to newer versions!?

更新:

我根据 stevents 提示编辑 - 现在我要测试.

i editet according to stevents hint - now i am going to test.

我仍然在努力设置 - 我想我必须跳过并扔掉所有 esp32 和所有其他微控制器/platformio 的东西......它们会导致很多问题

i still struggle with the settings - i guess that i have to skip and throw all the esp32 and all the other microcontroller /platformio-things away.. They cause lots of issues

推荐答案

需要注释preLaunchTask:

    "preLaunchTask": {

        "type": "PlatformIO",

        "task": "Pre-Debug"

    }

这篇关于VSCode 配置问题 - 关于 Anaconda :: 来自系统的调试投诉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆