The problem:
If you don't have a launch.json in VSCode and is starting to debug/run flutter/dart program, it assign a dynamic name, for example, if you run for android emulator, then it will use emulator's name.
But, when you set up a new launch.json it requires a name (for example "Sample"). But if name will be provided the debugger will use incerement names like "Sample 1", "Sample 2".
The question:
Is it possible to setup launch configuration with the name, which will supports a dynamic naming?
My current config for example looks like:
{
"version": "0.2.0",
"configurations": [
{
"name": "front",
"request": "launch",
"type": "dart",
"args": ["--web-port=3000"]
}
]
}
Thank you for any help!