Skip to content

Commit

Permalink
adding some launch.json tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
MattReimer committed Jan 12, 2024
1 parent 933b483 commit 4214246
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 73 deletions.
19 changes: 0 additions & 19 deletions .vscode/launch.json

This file was deleted.

69 changes: 15 additions & 54 deletions python/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
},
{
"name": "🔬Python Test XML",
"name": "🔬 Test All XML",
"type": "python",
"request": "launch",
// Run test.py
Expand All @@ -23,51 +16,19 @@
"PYTHON_PATH": "${workspaceFolder}",
}
},
// {
// "name": "Warehouse 3.0: Migration",
// "type": "python",
// "request": "launch",
// "module": "migration.warehouse_migration",
// "console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
// "justMyCode": true,
// "args": [
// // Note that we're readinf the copy here:
// "production_01-06-2022.sqlite",
// "old_xml",
// "new_xml",
// "watersheds_for_riverscapes.sqlite",
// "champ_visit_bounds.sqlite"
// ],
// "env": {
// "PYTHON_PATH": "${workspaceFolder}",
// }
// },
// {
// "name": "Warehouse 3.0: XML_Conversion",
// "type": "python",
// "request": "launch",
// "module": "migration.xml_conversion",
// "console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
// "justMyCode": true,
// "args": [
// // Note that we're readinf the copy here:
// "production_11-05-2022_MIGRATION.sqlite",
// ]
// },
// {
// // This is a script you should have to run AFTER the XML migration
// "name": "Warehouse 3.0: DB Augmentation",
// "type": "python",
// "request": "launch",
// "module": "migration.augment_db",
// "console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
// "justMyCode": true,
// "args": [
// "production_01-06-2022.sqlite",
// ]
// },
{
// run "rm -fr /home/vscode/.lemminx/cache"
"name": "🗑️ Wipe XSD Cache",
"type": "node-terminal",
"request": "launch",
"command": "rm -fr /home/vscode/.lemminx/cache",
},
{
"name": "🐍 Python: Run Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
}
]
}

0 comments on commit 4214246

Please sign in to comment.