We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Please add appropriate labels)
Version of the plugin v0.9.2
VS Code Infomation Version: 1.91.1 (system setup) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:06:49.809Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22635
The option of postDebugTask in launch.json does not work. I have tried another debug configuration using debugpy, postDebugTask works and well done.
postDebugTask
launch.json
{ "version": "0.2.0", "configurations": [ { "name": "ROS: Launch my_project", "type": "ros", "request": "launch", "target": "${workspaceFolder}/src/xxxx/launch/test.launch", "preLaunchTask": "catkin_make: build debug", "postDebugTask": "rosnode cleanup", // << it does not work }, { "name": "test", "type": "debugpy", "program": "${file}", "request": "launch", "postDebugTask": "rosnode cleanup" // << it works } ], }
task.json
{ "version": "2.0.0", "tasks": [ { "type": "catkin_make", "args": [ "--directory", "/home/xxxxx/xxxxx", "-DCMAKE_BUILD_TYPE=Debug" ], "problemMatcher": [ "$catkin-gcc" ], "group": "build", "label": "catkin_make: build debug" }, { "label": "rosnode cleanup", "type": "shell", "command": "source /opt/ros/noetic/setup.zsh && yes | rosnode cleanup", "presentation": { "reveal": "always", } } ] }
when terminate all node it should run postDebugTask, press stop button multi times to kill.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(Please add appropriate labels)
Version of the plugin
v0.9.2
VS Code Infomation
Version: 1.91.1 (system setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22635
what is the bug
The option of
postDebugTask
in launch.json does not work. I have tried another debug configuration using debugpy,postDebugTask
works and well done.launch.json
task.json
Repro steps
expected behavior
when terminate all node it should run postDebugTask, press stop button multi times to kill.
additional context
The text was updated successfully, but these errors were encountered: