Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing displaying at touchbar while running an app. #41

Open
kaangokdemir opened this issue Apr 17, 2020 · 4 comments
Open

Nothing displaying at touchbar while running an app. #41

kaangokdemir opened this issue Apr 17, 2020 · 4 comments

Comments

@kaangokdemir
Copy link

While in debug mode or running an ap with F5, nothing relating with extension are displayed at touchbar.
deb

@fortinmike
Copy link

I'm running into a similar limitation, although it's not a bug per se (I think).

I always have a debug session running while I work, because I use hot reloading (I work on a web app). This means that the (very useful!) Nasc Touch Bar icons never show up while I'm editing code because the standard VS Code debug buttons always take precedence. I've searched for a setting to control this in VS Code and in this extension but didn't find any.

Is there something that can be done to allow the buttons of the extension to take precedence over the debug session buttons? I'd much rather have all the editing options that this extension provides over the debugging buttons in there, at all times.

@felipenmoura
Copy link
Contributor

Hm, that's odd.
I work using live reload as well (with react, for example, keeping the terminal command running) and the buttons are there (although I'm not always in debugging mode).
Would it be related to this other issue? #37

@fortinmike
Copy link

Well the Nasc buttons do stay there as long as there isn't an active debugging session. When I only run a dev server with live reload, etc. everything is working as expected, as VS Code isn't involved.

The thing is I always run my apps using a VS Code launch config that keeps the debugger attached to Chrome (or Electron) at all times. This allows using breakpoints and the debugger inside VS Code which is quite handy. But in that case the Nasc buttons are replaced with the VS Code debugger buttons until the debug session is stopped.

@fortinmike
Copy link

Here's what I get:

Not Debugging

not-debugging

Debugging

debugging

Which is a good default behaviour. However in my case, as I run with the debugger attached most of the time, it would be much more useful to always display the Nasc buttons instead of the VS Code debugging buttons. So I'd like a setting to always display the Nasc buttons, if that's even possible with the VS Code Touch Bar API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants