Skip to content

[FEATURE]: Add Run/Debug button + visualize background processes in Desktop, support multi-config & process management #18708

@bigkun

Description

@bigkun

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode Desktop works really well, but there are two pain points with running/debugging: first, we can’t run/debug scripts directly in the desktop app and have to switch to terminal/IDE; second, subagent can run programs in the background, but the desktop app shows nothing about these background processes and we can’t manage them.
It would be great to optimize this with features inspired by IDEA/VS Code’s run/debug workflows:

  1. Core: Add a Run/Debug button for script configuration and management
    • Support adding, editing, deleting multiple run configurations (different scripts/commands/arguments)
    • Allow configuring runtime arguments, working directory, environment variables, etc.
    • Show clear runtime status (running/success/failed) with real-time log output
    • One-click start/stop/restart for Run/Debug tasks
  2. Additional: Visualize and manage background processes
    • Display all background programs started by subagent (status, PID, start time, running script)
    • Support manual stop/restart of background processes
    • Add filter/search for background processes to manage multiple tasks easily

This way we can code, run/debug, and manage background processes all in OpenCode Desktop without switching tools—making the workflow much smoother.

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions