(Please add appropriate labels)
Plugin version 0.6.9
Bug description
I am developing ROS nodes in a remote Docker container.
I followed the document at https://github.com/ms-iot/vscode-ros/blob/master/doc/debug-support.md to set up my debugging environment to debug via a ROS launch file.
In the Run and Debug window of VSCode, when I run ROS: Launch from the upper left corner of VSCode window, the process runs but terminates with the following message:
Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.
This is my launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ROS: Launch",
"request": "launch",
"target": LAUNCH_FILE_PATH,
"type": "ros",
"preLaunchTask": "make_debug", // <<< This is the task that will run before debugging starts
}
]
}
This is my tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"label": "make_debug",
"type": "catkin_make",
"args": [
"--directory",
"${workspaceFolder}",
"-DCMAKE_BUILD_TYPE=Debug", // This extra argument enables built with debug symbols
],
"problemMatcher": [
"$catkin-gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
},
]
}
I'm new to VSCode, it would be great if I can get more perspectives or a potential solution out of this. Thank you!
Repro steps
Please see the above bug description
expected behavior
Allow me to set breakpoint and debug
(Please add appropriate labels)
Plugin version 0.6.9
Bug description
I am developing ROS nodes in a remote Docker container.
I followed the document at https://github.com/ms-iot/vscode-ros/blob/master/doc/debug-support.md to set up my debugging environment to debug via a ROS launch file.
In the Run and Debug window of VSCode, when I run
ROS: Launchfrom the upper left corner of VSCode window, the process runs but terminates with the following message:Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.This is my
launch.json:This is my
tasks.json:I'm new to VSCode, it would be great if I can get more perspectives or a potential solution out of this. Thank you!
Repro steps
Please see the above bug description
expected behavior
Allow me to set breakpoint and debug