godot-csharp-vscode icon indicating copy to clipboard operation
godot-csharp-vscode copied to clipboard

Stopping the debugging does not also stop the game

Open atirut-w opened this issue 3 years ago • 1 comments

OS/device including version: Fedora 35

Issue description: When you start debugging a project(at least using the Launch option) and stop, the game's process does not get killed or stopped.

atirut-w avatar May 10 '22 17:05 atirut-w

I can confirm this bug:

https://imgur.com/Sqosj5i.mp4

launch.json

        {
            "name": "Launch",
            "type": "godot-mono",
            "request": "launch",
            "mode": "executable",
            "preLaunchTask": "man-build",
            "executable": "/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/bin/godot.linuxbsd.tools.x86_64.mono",
            // See which arguments are available here:
            // https://docs.godotengine.org/en/stable/getting_started/editor/command_line_tutorial.html
            "executableArguments": [
                "--path",
                "${workspaceRoot}",
                "--no-window"
            ]
        }

tasks.json

        {
            "label": "man-build",
            "command": "cd ${workspaceRoot} & dotnet build",
            "type": "shell",
        }

nonunknown avatar Sep 12 '22 20:09 nonunknown