mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Normalize Windows PATHs for VSCode
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"includePath": [
|
"includePath": [
|
||||||
% for include in includes:
|
% for include in includes:
|
||||||
"{{include.replace('"', '\\"')}}",
|
"{{include.replace('"', '\\"').replace('\\\\', '/').replace('\\', '/')}}",
|
||||||
% end
|
% end
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
@ -12,7 +12,7 @@
|
|||||||
"databaseFilename": "",
|
"databaseFilename": "",
|
||||||
"path": [
|
"path": [
|
||||||
% for include in includes:
|
% for include in includes:
|
||||||
"{{include.replace('"', '\\"')}}",
|
"{{include.replace('"', '\\"').replace('\\\\', '/').replace('\\', '/')}}",
|
||||||
% end
|
% end
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"name": "PlatformIO Debugger",
|
"name": "PlatformIO Debugger",
|
||||||
"target": "{{prog_path.replace('"', '\\"')}}",
|
"target": "{{prog_path.replace('"', '\\"').replace('\\\\', '/').replace('\\', '/')}}",
|
||||||
"gdbpath": "{{join(dirname(platformio_path), "piodebuggdb").replace('"', '\\"')}}",
|
"gdbpath": "{{join(dirname(platformio_path), "piodebuggdb").replace('"', '\\"').replace('\\\\', '/').replace('\\', '/')}}",
|
||||||
"autorun": [ "source .pioinit" ]
|
"autorun": [ "source .pioinit" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user