VeryGoodOpenSource / dart_frog

A fast, minimalistic backend framework for Dart 🎯
https://dartfrog.vgv.dev
MIT License
1.83k stars 148 forks source link

fix(vscode): breakpoints not being hit on Windows #1067

Open alestiago opened 12 months ago

alestiago commented 12 months ago

Description

Debugging on a Windows machine doesn't hit the breakpoints.

Steps To Reproduce

  1. Install dependencies (from: extensions/vscode):
    npm i
  2. Start the development host with F5 (from: extensions/vscode):
  3. Open a Dart Frog project and hit the Debug CodeLens.
  4. Send a request to the server.

For more information see the videos below.

Expected Behavior

Breakpoints should be hit when running on Windows.

Recordings

Debugging on Windows 11 (Virtual Machine)

https://github.com/VeryGoodOpenSource/dart_frog/assets/44524995/ebe1e40e-3ba3-46ab-9890-8e53763a5170

Debugging on MacOs

https://github.com/VeryGoodOpenSource/dart_frog/assets/44524995/d564bb43-cb32-4b98-9c5c-03850e8baa42

dhemasnurjaya commented 2 weeks ago

Confirmed with dart_frog 1.1.0 using 0.2.3 vscode extension on Windows 11 23H2 (22631.4037)

alestiago commented 2 weeks ago

@dhemasnurjaya are you interested in contributing a fix? The team can help you review the Pull Request and land it in, if you're interested.