LINUX.ORG.RU

История изменений

Исправление qulinxao3, (текущая версия) :

google: vscode launch json python without debugger

из совета

Method 1: Using the «Run Without Debugging» Command
The most straightforward way to use your launch.json settings without the debugger is through the command palette or keyboard shortcut. 
Ensure you have a launch.json file in your workspace's .vscode folder. A basic Python configuration looks like this (replace «${file}» with your specific entry point if needed):
json
{
    «version»: «0.2.0»,
    «configurations»: [
        {
            «name»: «Run Python File without Debugging»,
            «type»: «debugpy»,
            «request»: «launch»,
            «program»: «${file}»,
            «console»: «integratedTerminal»,
            «justMyCode»: true,
            «noDebug»: true 
        }
    ]
}
Note: The «noDebug»: true property explicitly tells VS Code to run this configuration without the debugger. This is the best way to guarantee the intended behavior when selecting this specific configuration.

в launch.json приписываешь вместо ${file} жёстко main.py али даже с абспасом чтоби желе з но

Исходная версия qulinxao3, :

google: vscode launch json python without debugger

из совета

Method 1: Using the «Run Without Debugging» Command The most straightforward way to use your launch.json settings without the debugger is through the command palette or keyboard shortcut. Ensure you have a launch.json file in your workspace's .vscode folder. A basic Python configuration looks like this (replace «${file}» with your specific entry point if needed): json { «version»: «0.2.0», «configurations»: [ { «name»: «Run Python File without Debugging», «type»: «debugpy», «request»: «launch», «program»: «${file}», «console»: «integratedTerminal», «justMyCode»: true, «noDebug»: true } ] } Note: The «noDebug»: true property explicitly tells VS Code to run this configuration without the debugger. This is the best way to guarantee the intended behavior when selecting this specific configuration.

в launch.json приписываешь вместо ${file} жёстко main.py али даже с абспасом чтоби желе з но