If you launched using a launch.json config this probably won't make any difference, but if you start from a CodeLens link or similar, your Restart may end up running something completely different.
I've opened a VS Code issue at microsoft/vscode#100115 however we may want to ship a workaround (I think using a name on the dynamic sessions that doesn't collide with launch.json may work) in the meantime.