We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee90f1 commit 88dd188Copy full SHA for 88dd188
src/phpDebug.ts
@@ -221,7 +221,7 @@ class PhpDebugSession extends vscode.DebugSession {
221
let serverFileUri: string;
222
if (this._args.serverSourceRoot && this._args.localSourceRoot) {
223
// get the part of the path that is relative to the source root
224
- const urlRelativeToSourceRoot = urlRelative(this._args.localSourceRoot, localPath);
+ const urlRelativeToSourceRoot = urlRelative(this._args.localSourceRoot, localFileUri);
225
// resolve from the server source root
226
serverFileUri = url.resolve(this._args.serverSourceRoot, urlRelativeToSourceRoot);
227
} else {
0 commit comments