Skip to content

Commit

Permalink
Added debug configuration for GoLand (IDEA) and added .env with debug…
Browse files Browse the repository at this point in the history
… vars.
  • Loading branch information
vvuwei committed Jun 30, 2023
1 parent 43f6277 commit d6123e0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .run/Run testnet.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run testnet" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="mempool" />
<working_directory value="$PROJECT_DIR$/cmd/mempool" />
<parameters value="-c &quot;../../build/dipdup.testnet.yml&quot;" />
<EXTENSION ID="net.ashald.envfile">
<option name="IS_ENABLED" value="true" />
<option name="IS_SUBST" value="false" />
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
<option name="IS_IGNORE_MISSING_FILES" value="false" />
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
<ENTRIES>
<ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" />
<ENTRY IS_ENABLED="true" PARSER="env" IS_EXECUTABLE="false" PATH="debug.env" />
</ENTRIES>
</EXTENSION>
<kind value="DIRECTORY" />
<package value="github.com/dipdup-net/mempool" />
<directory value="$PROJECT_DIR$/cmd/mempool" />
<filePath value="$PROJECT_DIR$/cmd/mempool/main.go" />
<method v="2">
<option name="ToolBeforeRunTask" enabled="true" actionId="Tool_External Tools_Compose up" />
</method>
</configuration>
</component>
4 changes: 4 additions & 0 deletions debug.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
HASURA_HOST=127.0.0.1
HASURA_PORT=22000
POSTGRES_HOST=127.0.0.1
HASURA_POSTGRES_HOST=db

0 comments on commit d6123e0

Please sign in to comment.