question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always switches to last tab on "Stop Debugging (Close Windows)" Command

See original GitHub issue

When I’m in the middle of debugging and I use the Stop Debugging (Close Windows) command, ST3 always switches to the last tab that’s open in my current ST window. If I’m deep into a particular block of code and this happens, it can interrupt my flow pretty hard and I can lose my place or train of thought.

Is it possible to add some code to retain the current active tab in the non-debug window and keep that tab active on close?

Thanks again

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
martomocommented, Jun 19, 2014

When you start a debug session it creates a snapshot of your layout, however when you change the debugging layout, it will use that as the new snapshot, hence losing your ‘saved’ layout.

Depending on your layout there are couple hot-keys for restoring an layout. For example reverting back to Single Layout, use <kbd>Alt+Shift+1</kbd> or <kbd>⌘+Shift+1</kbd>.

So there is no need to change the Sublime.sublime-session.

0reactions
rioastamalcommented, Mar 8, 2016

@martomo the PR is not merged to the master?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to stop browser closing automatically when you stop ...
Press start debugging; Website opens in new window that can't dock with any other Chrome windows/tabs; Press stop debugging; Website/Chrome ...
Read more >
Visual Studio 2022 always opens new browser and stops this ...
The option “Stop debugging when browser is closed, close browser when debugging stops” only applies to browsers which are not being debugged. This...
Read more >
Using Debugger Commands - Windows drivers | Microsoft Learn
This window is always open at the beginning of a debugging session. You can reopen or switch to this window by selecting Command...
Read more >
How can I force stop a program without using the mouse in ...
You can use the command prompt to terminate processes: Open the Run box using Windows + R . Type cmd in the Run...
Read more >
Debugging in the browser - The Modern JavaScript Tutorial
We can also pause the code by using the debugger command in it, ... Continue the execution and stop it at the very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found