🚧 Add debug env
This commit is contained in:
Vendored
+22
@@ -22,6 +22,28 @@
|
|||||||
],
|
],
|
||||||
"console": "integratedTerminal"
|
"console": "integratedTerminal"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Serve the pump node WITH the example plant environment
|
||||||
|
// attached (FR-8.2.17): closed-loop tank physics ticked
|
||||||
|
// wall-clock-paced (10 ms) alongside the Modbus server.
|
||||||
|
// A PLC (or pymodbus script) drives DO0.0/AO0.0 and reads
|
||||||
|
// back the simulated field (AI0.0 level, DI0.1 low-level
|
||||||
|
// switch); runs until stopped (Shift+F5 / Ctrl+C).
|
||||||
|
"name": "wago-sim: serve (pump node + plant env)",
|
||||||
|
"type": "debugpy",
|
||||||
|
"request": "launch",
|
||||||
|
"module": "wago_sim.cli",
|
||||||
|
"args": [
|
||||||
|
"--verbose",
|
||||||
|
"serve",
|
||||||
|
"--node", "config/pump_node.yaml",
|
||||||
|
"--host", "127.0.0.1",
|
||||||
|
"--web",
|
||||||
|
"--port", "5020",
|
||||||
|
"--env", "envs.pump_station_env:PumpStationEnv"
|
||||||
|
],
|
||||||
|
"console": "integratedTerminal"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Run the example FAT scenario headless and write reports.
|
// Run the example FAT scenario headless and write reports.
|
||||||
"name": "wago-sim: run (pump_station_fat)",
|
"name": "wago-sim: run (pump_station_fat)",
|
||||||
|
|||||||
Reference in New Issue
Block a user