Vscode-js-debug: Call stack no longer shows the name from the configuration that launched the process.

Created on 13 Jul 2020  路  1Comment  路  Source: microsoft/vscode-js-debug

Describe the bug
The "Call Stack" panel just lists index.ts (the entry point to my services) instead of the configuration name of from launch.json. At launch, the configuration name displays briefly but then is soon replaced with "index.ts". I'm taking a bit of a guess that it's related to the call stack "compaction" that was noted in the latest release.

I often debug several services that all have the same package structure - main file is "index.ts" and so it's now hard to identify them.

Screenshot from 2020-07-13 13-52-00

Selecting the process does display the correct name in the "Debug Console" drop down menu as well as the "Debug Toolbar".

To Reproduce
Configuration entry from launch.json:

    {
      "name": "GraphQL",
      "type": "node",
      "request": "launch",
      "args": ["./src/index.ts"],
      "outputCapture": "std",
      "smartStep": false,
      "runtimeArgs": ["-r", "ts-node/register"],
      "cwd": "${workspaceFolder}/packages/graphql",
      "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "<node_internals>/**"
      ]
    }

VS Code Version: 1.47

bug verified

Most helpful comment

Thanks for the issue, fixed in the next nightly

>All comments

Thanks for the issue, fixed in the next nightly

Was this page helpful?
0 / 5 - 0 ratings

Related issues

baptoutiego picture baptoutiego  路  3Comments

thomasrea0113 picture thomasrea0113  路  6Comments

geirsagberg picture geirsagberg  路  5Comments

KieranHarper picture KieranHarper  路  5Comments

auchenberg picture auchenberg  路  3Comments