{
// 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: Attach",
"request": "attach",
"target": "/home/wanghuohuo/catkin_key_board/devel/lib/keyboard/keyboard_node",
"type": "ros"
}
]
}
(Please add appropriate labels)
\<Version of the plugin> ROS-plugin version:
v0.8.2
\<Copy the Version information from the
Help | About
menu> vscode versionwhat is the bug
when I debug the ros launch file,error report "Launch request requires an absolute path as target"
Repro steps
1.
mkdir -p catkin_key_board/src
2.cd catkin_key_board/src
3.git clone https://github.com/wanghuohuo0716/key_board.git
4.cd ..
5.catkin_make -DCMAKE_EXPORT_COMPILE_COMMANDS=Yes
6.code .
7.modifyc_cpp_properties.json
8.add
task.json
9.add
launch.json
10.
settings.json
11 run vscode debug button, chose ROS:Attach,run it launch command:
rosrun
Package:key_board
Executable:key_board_node
expected behavior
get into debug mode