Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`DebugSession` client path conversion should work in web extensions

Open
#298 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
node.js, typescript
Domain
devtools

Research direction

Start in adapter/src/debugSession.ts with setDebuggerPathFormat, convertClientPathToDebugger, convertDebuggerPathToClient, path2uri, and uri2path. Inspect the node dependency on process.platform and verify that both conversion methods work in desktop and web extensions without a process-is-not-defined exception.

Written by the indexing model from the issue text.

Description

Writing cross-platform and web cabable extensions, one is unable to call DebugSession::setDebuggerPathFormat and rely on the conversion methods for client and debugger path conversion.

Expected behavior

DebugSession::convertClientPathToDebugger and DebugSession::convertDebuggerPathToClient should work in desktop and web extensions.

Current behavior

Calling DebugSession::convertClientPathToDebugger or DebugSession::convertDebuggerPathToClient throws an exception process is not defined when DebugSession::path2uri and DebugSession::uri2path are called due to a dependency on process.platform from node.

Dominant language
TypeScript
Stars
306
Forks
90
Avg merge
8h 36m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-debugadapter-node

All issues in microsoft/vscode-debugadapter-node

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.