Introduced a new debug configuration for production mode in VSCode, facilitating easier debugging in different environments. Additionally, updated the `get_transparency_data` function to handle year and month as strings, ensuring compatibility with subsequent operations. Added a necessary parameter to a function call in `main.py` to align with the updated function signature.
27 lines
No EOL
835 B
JSON
27 lines
No EOL
835 B
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug: Development Mode",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "main.py",
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PRIVATECOFFEE_DEV": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug: Production Mode",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "main.py",
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
]
|
|
} |