Skip to content

Process Picker: Pick process id from file #50378

Closed
@rheaditi

Description

@rheaditi

Issue Type: Feature Request

Hey guys!

Thanks for an awesome debugging experience. 💙

I'd previously posted a question on SO (currently unanswered at the time of this request) about debugging processes started by pm2.

tl;dr of the problem is: a process started by pm2 is not showing up in the debugger's pick process dialogue (for Attach to Node Process) for some reason. Since I'm running my server in watch mode every time I make a change I've to manually copy the process id back-and-forth for now. 😅

Feature Request:
Allow for a way for the launch configuration to pick a process to watch by fetching the pid from a file.
pm2 already maintains a pid file at a configured path.
This would be really helpful!

Thanks again :)

VS Code version: Code 1.23.1 (d0182c3, 2018-05-10T16:03:31.083Z)
OS version: Darwin x64 17.5.0

Metadata

Metadata

Labels

*extension-candidateIssue identified as good extension implementationdebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions