Skip to content

Terminating debug session don't goes off on restart #3358

@yahu1031

Description

@yahu1031

Describe the bug

When I debug the code and restart the program, Terminating debug session is not going off from bottom right corner.

To Reproduce
Steps to reproduce the behavior:

  1. Use any sample code in dart and run once and restart again
    Eg:
import 'dart:developer' as console;
import 'package:shelf/shelf.dart' show Request, Response;

import 'package:shelf/shelf_io.dart' as shelf_io;
import 'package:shelf_router/shelf_router.dart' show Router;

Future<void> main() async {
  /// Router object
  Router app = Router();

  app.get('/', (Request request) {
    return Response.ok(
      'Hey there 👋🏻',
      headers: {'Content-Type': 'text/plain'},
    );
  });

  /// Serving
  await shelf_io.serve(app, 'localhost', 1031).then((value) => console
      .log('API running at http://${value.address}:${value.port} 🔥🔥🔥'));
}

Expected behavior
It must not show that Terminating debug session.... notification

Screenshots
image

Versions (please complete the following information):

  • VS Code version: 1.56.2
  • Gitpod code version: 1.55.1
  • Dart extension version: v3.22.0
  • Dart SDK version: 2.13.0 (stable)
  • Flutter SDK version: 2.2.0 (stable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    in dartRelates to running Dart programsin debuggingRelates to the debug adapter or process of running debug sessionsis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions