You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code extension: Deploy of a v2 (2.0 preview) project prints no progress in the terminal, v1 projects print the nanoff steps #1959
When deploying from VS Code, a v1 project (1.x libraries) shows the progress of the deploy in the terminal panel, one line per step:
.NET nanoFramework Firmware Flasher v2.5.171+a91eda4b2b
Copyright (C) 2019 .NET Foundation and nanoFramework project contributors
Getting details from nano device...OK
Deploying managed application...OK
Rebooting...OK
A v2 project (2.0 preview libraries) shows no text at all in the terminal during the deploy. The only feedback is a small notification banner in the bottom right corner of the window. This makes it hard to know what the deploy is doing, and, when it fails, there is no output to copy into an issue.
I could not find an existing issue about this. #1788 (deploy target and dotnet nano deploy commands) is related but about a new feature, not about this difference between v1 and v2.
How to reproduce
VS Code with the nanoFramework extension, macOS (Apple Silicon), ESP32 board connected by USB.
Open a v1 project (for example the Blinky sample with 1.x packages), run the nanoFramework Deploy command. The terminal shows the lines above.
Open a v2 project (same sample with the 2.0 preview packages, device flashed with the 2.0 preview firmware), run the same Deploy command.
No lines appear in the terminal. Only the notification banner in the bottom right corner is shown.
Expected behaviour
The same step-by-step feedback for v1 and v2 projects (device details, deploy, reboot), and the error text in the terminal when a step fails.
Screenshots
Aditional context
Visual Studio version: not used (Visual Studio Code, macOS, Darwin 24.6.0, Apple Silicon)
v2 is using a different path than v1 for the deployment (thru the debug bridge), meaning the output are not in the terminal but in the output console. That said, I made the changes. I'll push those and as always, you'll be able to test and report!
Hi @Ellerbach
Thank you for your willingness to make this change! I hadn't noticed this before because when running a build or deploy, the Terminal window comes to the foreground instead of the Output window.
Also, would it be possible during debugging to automatically select and bring the Debug window to the foreground? That would make it much clearer that the program is running.
Tested PR #630 on macOS with an ESP32_PSRAM_REV3 running v2.0.1-preview.40: build, deploy, and
debug all work, and the auto-focus works, but it only switches to the Debug Console when the
program actually starts, missing all the preliminary messages.
Could the focus switch happen immediately after pressing F5 instead?
Also, there are two UX issues during the deploy phase compared to the v1 behavior:
The deploy output is way too verbose, printing all internal [NanoBridge] JSON/IPC messages
(Sending, Received, Bridge stderr) and duplicate [nF-Debug] lines instead of just the essential
progress and result messages.
The deploy phase opens a new separate window instead of appearing right after the build in
the same terminal window.
Could it behave like the previous version, showing the build followed by a much less verbose
deploy output in the same terminal window?
Activity
nfbot commentedon Nov 24, 2026
Ellerbach commentedon Nov 26, 2026
v2 is using a different path than v1 for the deployment (thru the debug bridge), meaning the output are not in the terminal but in the output console. That said, I made the changes. I'll push those and as always, you'll be able to test and report!
delfuria commentedon Nov 26, 2026
Hi @Ellerbach
Thank you for your willingness to make this change! I hadn't noticed this before because when running a build or deploy, the Terminal window comes to the foreground instead of the Output window.
Also, would it be possible during debugging to automatically select and bring the Debug window to the foreground? That would make it much clearer that the program is running.
Ellerbach commentedon Nov 26, 2026
@delfuria added the auto focus on debug if needed. Should work ok. Let me know as always the result and we'll be good to merge!
delfuria commentedon Nov 26, 2026
Tested PR #630 on macOS with an ESP32_PSRAM_REV3 running v2.0.1-preview.40: build, deploy, and
debug all work, and the auto-focus works, but it only switches to the Debug Console when the
program actually starts, missing all the preliminary messages.
Could the focus switch happen immediately after pressing F5 instead?
Also, there are two UX issues during the deploy phase compared to the v1 behavior:
(Sending, Received, Bridge stderr) and duplicate [nF-Debug] lines instead of just the essential
progress and result messages.
the same terminal window.
Could it behave like the previous version, showing the build followed by a much less verbose
deploy output in the same terminal window?
Thanks again