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
warning diagnostic asking to relaunch the terminal for no config debugging, after the terminal says no config debugging was already contributed.
Steps to reproduce:
Have python debugger ext with no config debugging
Open vscode repo, with only ts files open and a terminal in view.
Open a notebook with a python cell
See warning appear on the terminal
Diagnostic data
launch.json configuration
XXX
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2025-02-06 11:39:40.114 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-06 11:39:40.115 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-06 11:39:40.115 [info] Experiment 'pythonTestAdapter' is active
2025-02-06 11:39:40.115 [info] Native locator: Refresh started
2025-02-06 11:39:40.115 [info] > pyenv which python
2025-02-06 11:39:40.115 [info] cwd: .
2025-02-06 11:39:41.594 [info] Python interpreter path: ~\AppData\Local\Programs\Python\Python311\python.exe
2025-02-06 11:39:49.114 [info] Native locator: Refresh finished in 45834 ms
2025-02-06 11:39:55.621 [info] Starting Pylance language server.
2025-02-06 11:44:32.572 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-06 11:44:32.574 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-06 11:44:32.574 [info] Experiment 'pythonTestAdapter' is active
2025-02-06 11:44:32.574 [info] Native locator: Refresh started
2025-02-06 11:44:32.697 [info] > pyenv which python
2025-02-06 11:44:32.697 [info] cwd: .
2025-02-06 11:44:33.915 [info] Python interpreter path: ~\AppData\Local\Programs\Python\Python311\python.exe
2025-02-06 11:44:54.335 [info] Starting Pylance language server.
2025-02-06 11:45:02.355 [info] Native locator: Refresh finished in 30560 ms
2025-02-06 13:45:55.308 [info] > conda info --json
2025-02-06 13:46:05.772 [info] Native locator: Refresh started
2025-02-06 13:46:06.319 [info] Native locator: Refresh finished in 546 ms
2025-02-06 14:51:44.905 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-06 14:51:44.923 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-06 14:51:44.925 [info] Experiment 'pythonTestAdapter' is active
2025-02-06 14:51:44.926 [info] Native locator: Refresh started
2025-02-06 14:51:47.214 [info] > pyenv which python
2025-02-06 14:51:47.214 [info] cwd: .
2025-02-06 14:52:34.179 [info] > conda info --json
2025-02-06 14:52:39.073 [info] Python interpreter path: ~\AppData\Local\Programs\Python\Python311\python.exe
2025-02-06 14:52:39.687 [info] Native locator: Refresh finished in 58060 ms
2025-02-06 14:52:51.828 [info] Starting Pylance language server.
2025-02-06 14:53:18.664 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-06 14:53:18.664 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-06 14:53:18.664 [info] Experiment 'pythonTestAdapter' is active
2025-02-06 14:53:18.664 [info] Native locator: Refresh started
2025-02-06 14:53:18.809 [info] > pyenv which python
2025-02-06 14:53:18.809 [info] cwd: .
2025-02-06 14:53:33.932 [info] Python interpreter path: ~\AppData\Local\Programs\Python\Python311\python.exe
2025-02-06 14:53:45.551 [info] Native locator: Refresh finished in 28014 ms
2025-02-06 14:53:47.177 [info] > conda info --json
2025-02-06 14:53:48.067 [info] Starting Pylance language server.
Output for Python Debugger in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python Debugger)
2025-02-06 13:45:56.253 [info] Attempting to use temp directory for noConfigDebugAdapterEndpoints, dir name: noConfigDebugAdapterEndpoints-7ea3f1804c320d5a9d05
2025-02-06 14:52:34.110 [info] Attempting to use temp directory for noConfigDebugAdapterEndpoints, dir name: noConfigDebugAdapterEndpoints-736025c0a984abcaca51
2025-02-06 14:53:49.118 [info] Attempting to use temp directory for noConfigDebugAdapterEndpoints, dir name: noConfigDebugAdapterEndpoints-3a0d93863f742d55cfba
Extension version: 2025.0.0
VS Code version: Code - Insiders 1.98.0-insider (edd39c48ec3c81b5f8c6ddf1893a95acf8662187, 2025-02-06T05:04:30.184Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Python version (& distribution if applicable, e.g. Anaconda): 3.11.9
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
@Tyriar, what is the logic for showing the relaunch warning? I might be attempting contribute multiple times at each activation event for the terminal but is this an incorrect way of doing so?
@eleanorjboyd you're probably doing the right thing here. The first part says what's there, the second part says what's changed, which can include the thing above. You could make the description more unique, but depending on what you're doing that might just confuse things further.
For example, when copilot updates you might expect the copilot-debug message to appear again if it needs to add a different entry to the PATH:
At the point it would give the same message since we don't want to get into specifying the full path.
Type: Bug
Behaviour
warning diagnostic asking to relaunch the terminal for no config debugging, after the terminal says no config debugging was already contributed.
Steps to reproduce:
Diagnostic data
launch.json
configurationOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output for
Python Debugger
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython Debugger
)Extension version: 2025.0.0
VS Code version: Code - Insiders 1.98.0-insider (edd39c48ec3c81b5f8c6ddf1893a95acf8662187, 2025-02-06T05:04:30.184Z)
OS version: Windows_NT x64 10.0.26100
Modes:
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: