mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-30 18:23:03 +03:00
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
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": "Run Textual App",
|
|
"type": "python",
|
|
"request": "launch",
|
|
// Replace this with the output of `which textual`
|
|
// TODO: is there a way to get this from the environment??
|
|
// or to use textual as "module" but still run the correct app?
|
|
// I tried a lot of variations of this, but none worked.
|
|
"program": "${userHome}/.local/bin/textual",
|
|
"args": ["run", "--dev", "src/textual_paint/paint.py --clear-screen --inspect-layout"],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "Open A File in App",
|
|
"type": "python",
|
|
"request": "launch",
|
|
// "program": "src/textual_paint/paint.py",
|
|
// "args": ["LICENSE.txt"],
|
|
"program": "${userHome}/.local/bin/textual",
|
|
"args": ["run", "--dev", "src/textual_paint/paint.py --clear-screen --inspect-layout LICENSE.txt"],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "Debug --restart-on-changes file matching",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${userHome}/.local/bin/textual",
|
|
"args": ["run", "--dev", "src/textual_paint/paint.py --clear-screen --restart-on-changes"],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false
|
|
}
|
|
]
|
|
} |