Skip to content

Commit

Permalink
refactor: improve setup in jxDebug.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hferentschik authored and jenkins-x-bot committed Jan 24, 2020
1 parent 686fa89 commit 6dd4fc6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hack/jxDebug.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
echo "Debugging jx"
dlv --listen=:2345 --headless=true --api-version=2 exec ./build/jx -- $*
#!/usr/bin/env sh

dir=$(dirname "$0")
dlv --log-dest 2 --listen=:2345 --headless=true --api-version=2 exec "${dir}/../build/jx" -- "$@" > /dev/null 2>&1

0 comments on commit 6dd4fc6

Please sign in to comment.