Debug with module instead of starting main.py
This commit is contained in:
3
.vscode/launch.json
vendored
3
.vscode/launch.json
vendored
@ -5,8 +5,7 @@
|
|||||||
"name": "Python Debugger: Start bot",
|
"name": "Python Debugger: Start bot",
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/discord_reminder_bot/main.py",
|
"module": "discord_reminder_bot.main"
|
||||||
"console": "integratedTerminal",
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user