diff --git a/platformio/ide/tpls/vscode/.vscode/launch.json.tpl b/platformio/ide/tpls/vscode/.vscode/launch.json.tpl index 409c1b98..900d1438 100644 --- a/platformio/ide/tpls/vscode/.vscode/launch.json.tpl +++ b/platformio/ide/tpls/vscode/.vscode/launch.json.tpl @@ -5,11 +5,13 @@ { "type": "gdb", "request": "launch", - "cwd": "${workspaceRoot}", + "cwd": "${workspaceFolder}", "name": "PlatformIO Debugger", "target": "{{prog_path.replace('\\\\', '/').replace('\\', '/').replace('"', '\\"')}}", "gdbpath": "{{join(dirname(platformio_path), "piodebuggdb").replace('\\\\', '/').replace('\\', '/').replace('"', '\\"')}}", - "autorun": [ "source .pioinit" ] + "autorun": [ "source .pioinit" ], + "preLaunchTask": "PlatformIO: Pre-Debug", + "internalConsoleOptions": "openOnSessionStart" } ] } \ No newline at end of file diff --git a/platformio/managers/core.py b/platformio/managers/core.py index 1de8aa5f..9789b763 100644 --- a/platformio/managers/core.py +++ b/platformio/managers/core.py @@ -23,7 +23,7 @@ from platformio.managers.package import PackageManager CORE_PACKAGES = { "contrib-piohome": ">=0.6.1,<2", "contrib-pysite": ">=0.1.2,<2", - "tool-pioplus": ">=0.13.3,<2", + "tool-pioplus": ">=0.13.5,<2", "tool-unity": "~1.20302.1", "tool-scons": "~2.20501.3" }